How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Coder Authorization API

The Authorization API from Coder — 7 operation(s) for authorization.

Coder Authorization API is one of 32 APIs that Coder publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Authorization. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 7 operations across 7 paths, and defines 17 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against a single base URL, https://{coderHost}/api/v2.

7 operations 7 paths 17 schemas 1 GET6 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Base URL
https://coder.example.com/api/v2
Authentication
API Key
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Coder Authorization API declares 1 security scheme for authenticating requests. An API key is passed in the header as Coder-Session-Token (CoderSessionToken). By default, every request must be authenticated.

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 1 GET, 6 POST. Each is listed below with its method, path, parameters, and response codes.

Authorization 7
GET
/api/v2/auth/scopes
List API key scopes
list-api-key-scopes → 200
POST
/api/v2/authcheck
Check authorization
check-authorization body → 200
POST
/api/v2/users/login
Log in user
log-in-user body → 201
POST
/api/v2/users/otp/change-password
Change password with a one-time passcode
change-password-with-a-one-time-passcode body → 204
POST
/api/v2/users/otp/request
Request one-time passcode
request-one-time-passcode body → 204
POST
/api/v2/users/validate-password
Validate user password
validate-user-password body → 200
POST
/api/v2/users/{user}/convert-login
Convert user from password to oauth authentication
convert-user-from-password-to-oauth-authentication 1 param body → 201

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are codersdk.AuthorizationObject (5 properties), codersdk.OAuthConversionResponse (4 properties), codersdk.ChangePasswordWithOneTimePasscodeRequest (3 properties), codersdk.ConvertLoginRequest (2 properties). Each schema is shown below with its type and property counts.

codersdk.AuthorizationRequest
object
1 property
codersdk.LoginWithPasswordRequest
object
2 properties 2 required
codersdk.RBACAction
string
codersdk.ConvertLoginRequest
object
2 properties 2 required
codersdk.ExternalAPIKeyScopes
object
1 property
codersdk.AuthorizationResponse
object
codersdk.LoginType
string
codersdk.AuthorizationObject
object
AuthorizationObject can represent a "set" of objects, such as: all workspaces in an organization, all workspaces owned by me, all workspaces across the entire…
5 properties
codersdk.RBACResource
string
codersdk.ChangePasswordWithOneTimePasscodeRequest
object
3 properties 3 required
codersdk.AuthorizationCheck
object
AuthorizationCheck is used to check if the currently authenticated user (or the specified user) can do a given action to a given set of objects.
2 properties
codersdk.LoginWithPasswordResponse
object
1 property 1 required
codersdk.RequestOneTimePasscodeRequest
object
1 property 1 required
codersdk.APIKeyScope
string
codersdk.ValidateUserPasswordRequest
object
1 property 1 required
codersdk.ValidateUserPasswordResponse
object
2 properties
codersdk.OAuthConversionResponse
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

coder-authorization-api-openapi.yml Raw ↑

Other APIs Coder publishes across the network.

Coder Workspaces API
Coder Templates API
Coder Users API
Coder Workspace Agents API
Coder Enterprise API
Coder Agents API
Coder AI Bridge API
Coder AI Providers API
Coder Applications API
Coder Audit API
Coder Builds API
Coder Chats API
Where this information came from

This is an independent, third-party profile of Coder Authorization API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.