Coder logo

REST API

API

Get started with the Coder API:

Quickstart

Generate a token on your Coder deployment by visiting:

https://coder.kyzdt.dev/settings/tokens

List your workspaces

# CLI
curl https://coder.kyzdt.dev/api/v2/workspaces?q=owner:me \
-H "Coder-Session-Token: "

Use cases

See some common use cases for the REST API.

Sections

This page is rendered on https://coder.com/docs/reference/api. Refer to the other documents in the api/ directory.