Gå til hovedinnhold
Beta! This documentation is automatically generated. Information may be incomplete or contain errors, especially screenshots and code samples. We'd love your feedback: use the "Did you find what you were looking for?" widget below, the chat in the bottom right, or email support@placepoint.no - we'll get back to you as soon as we can.

Create an access token

POST 

/auth/token

Exchanges client credentials for a bearer access token, the OAuth 2 client-credentials grant (RFC 6749 section 4.4). The request body is application/x-www-form-urlencoded with the wire names RFC 6749 mandates (grant_type, client_id, client_secret, scope); those four field names, and the token-response fields access_token, token_type and expires_in, are the platform's only snake_case exception to its camelCase convention.

A failed grant returns 400 with an RFC 6749 section 5.2 error body (application/json, not Problem Details): this is the one endpoint where the OAuth spec, not api-design/README.md, defines the error contract.

Request

Responses

The access token.

Beta! This documentation is automatically generated. Information may be incomplete or contain errors, especially screenshots and code samples. We'd love your feedback: use the "Did you find what you were looking for?" widget below, the chat in the bottom right, or email support@placepoint.no - we'll get back to you as soon as we can.