Create access token
Authentication
Create access token
Exchange SDK credentials for a short-lived access token.
POST
Create access token
Documentation Index
Fetch the complete documentation index at: https://docs.neuronsearchlab.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Request
| Field | Type | Required | Description |
|---|---|---|---|
grant_type | string | yes | Must be client_credentials. |
scope | string | no | Space-delimited scopes. Omit to use the scopes configured for the client. |
Response
access_token as the Bearer token for Core API resource calls. expires_in is a lifetime in seconds; compute expires_at = now + expires_in in your token cache and refresh before that time.
Errors
| Status | Scenario |
|---|---|
400 | Unsupported grant type or malformed request body |
401 | Invalid client credentials |
429 | Token request rate limit exceeded |
Authorizations
HTTP Basic authentication using client_id:client_secret for token exchange.
Body
application/x-www-form-urlencoded

