- Create a service account and note its API Key. This is recommended for most production workflows.
- Go to
https://app.<your-base-domain>/token, sign in with your user account, and copy the API token that appears. This is recommended if you want to test API requests with your own user credentials. API tokens retrieved this way expire after 24 hours or when an Admin users changes your level of access.
Authorization header to your APC API requests. For example, the following cURL command uses 'Authorization: <my-api-token>' to authenticate a request to add a new Workspace user: