| title | REST API |
|---|---|
| description | Reference for the Coder REST API, including endpoints, authentication, and schemas. |
| icon_path | ./images/icons/api.svg |
Get started with the Coder API:
Generate a token on your Coder deployment by visiting:
https://coder.example.com/settings/tokensList your workspaces
# CLI
curl https://coder.example.com/api/v2/workspaces?q=owner:me \
-H "Coder-Session-Token: <your-token>"See some common use cases for the REST API.
This page is rendered on https://coder.com/docs/reference/api. Refer to the other documents in the `api/` directory.