Coder Users API

The Users API from Coder — 28 operation(s) for users.

Operations 40

GET /api/experimental/users/{user}/skills List user skills #
POST /api/experimental/users/{user}/skills Create a user skill #
GET /api/experimental/users/{user}/skills/{skillName} Get a user skill by name #
DELETE /api/experimental/users/{user}/skills/{skillName} Delete a user skill #
PATCH /api/experimental/users/{user}/skills/{skillName} Update a user skill #
GET /api/v2/users Get users #
POST /api/v2/users Create new user #
GET /api/v2/users/authmethods Get authentication methods #
GET /api/v2/users/first Check initial user created #
POST /api/v2/users/first Create initial user #
POST /api/v2/users/logout Log out user #
GET /api/v2/users/oauth2/github/callback OAuth 2.0 GitHub Callback #
GET /api/v2/users/oauth2/github/device Get Github device auth #
GET /api/v2/users/oidc-claims Get OIDC claims for the authenticated user #
GET /api/v2/users/oidc/callback OpenID Connect Callback #
GET /api/v2/users/{user} Get user by name #
DELETE /api/v2/users/{user} Delete user #
GET /api/v2/users/{user}/appearance Get user appearance settings #
PUT /api/v2/users/{user}/appearance Update user appearance settings #
GET /api/v2/users/{user}/autofill-parameters Get autofill build parameters for user #
GET /api/v2/users/{user}/gitsshkey Get user Git SSH key #
PUT /api/v2/users/{user}/gitsshkey Regenerate user SSH key #
POST /api/v2/users/{user}/keys Create new session key #
GET /api/v2/users/{user}/keys/tokens Get user tokens #
POST /api/v2/users/{user}/keys/tokens Create token API key #
GET /api/v2/users/{user}/keys/tokens/{keyname} Get API key by token name #
GET /api/v2/users/{user}/keys/{keyid} Get API key by ID #
DELETE /api/v2/users/{user}/keys/{keyid} Delete API key #
PUT /api/v2/users/{user}/keys/{keyid}/expire Expire API key #
GET /api/v2/users/{user}/login-type Get user login type #
GET /api/v2/users/{user}/organizations Get organizations by user #
GET /api/v2/users/{user}/organizations/{organizationname} Get organization by user and organization name #
PUT /api/v2/users/{user}/password Update user password #
GET /api/v2/users/{user}/preferences Get user preference settings #
PUT /api/v2/users/{user}/preferences Update user preference settings #
PUT /api/v2/users/{user}/profile Update user profile #
GET /api/v2/users/{user}/roles Get user roles #
PUT /api/v2/users/{user}/roles Assign role to user #
PUT /api/v2/users/{user}/status/activate Activate user account #
PUT /api/v2/users/{user}/status/suspend Suspend user account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/coder-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

coder-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Coderd is the service created by running coder server. It is a thin API that connects workspaces, provisioners and users. coderd stores its state in Postgres and is the only service that communicates with Postgres.
  title: Coder Users API
  termsOfService: https://coder.com/legal/terms-of-service
  contact:
    name: API Support
    url: https://coder.com
    email: support@coder.com
  license:
    name: AGPL-3.0
    url: https://github.com/coder/coder/blob/main/LICENSE
  version: '2.0'
servers:
- url: https://{coderHost}/api/v2
  description: Coder instance
  variables:
    coderHost:
      default: coder.example.com
      description: Your Coder deployment hostname
security:
- CoderSessionToken: []
tags:


# --- truncated at 32 KB (48 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/coder/refs/heads/main/openapi/coder-users-api-openapi.yml