Files
coder/docs/reference/api/README.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
556 B
Markdown
Raw Normal View History

2023-07-13 09:24:09 -04:00
Get started with the Coder API:
## Quickstart
Generate a token on your Coder deployment by visiting:
```shell
2023-07-13 09:24:09 -04:00
https://coder.example.com/settings/tokens
```
List your workspaces
```shell
2023-07-13 09:24:09 -04:00
# CLI
curl https://coder.example.com/api/v2/workspaces?q=owner:me \
-H "Coder-Session-Token: <your-token>"
```
## Use cases
See some common [use cases](../../admin/automation.md#use-cases) for the REST API.
2023-07-13 09:24:09 -04:00
## Sections
<children>
This page is rendered on https://coder.com/docs/reference/api. Refer to the other documents in the `api/` directory.
</children>