Version: 0.2.0
Code API
API used to manage and publish Code data.
The API base URL is:
https://api{separator}{platform_domain}/code/v1
Note: Replace {platform_domain} with your platform domain. {separator} can be either . or -, depending on your platform configuration.
1. Authorization
This API uses the OAuth 2.0 Authorization Code flow. Your application redirects the user to the authorization endpoint, the user logs in and grants consent, and your application exchanges the returned authorization code for an access token. The access token is then sent with every subsequent API call.
- Authorization URL:
https://accounts{separator}{platform_domain}/oauth2/authorize - Token URL:
https://accounts{separator}{platform_domain}/oauth2/access-token
Use the resulting access token in the Authorization header of every API call:
Authorization: Bearer ACCESS_TOKEN
For the full step-by-step flow, see the OAuth2 Authentication Guidelines page.