cURL
curl --request POST \ --url https://api.dynamosql.com/v1/auth/token \ --header 'Content-Type: application/json' \ --data ' { "clientId": "<string>", "clientSecret": "<string>" } '
{ "success": true, "data": { "accessToken": "eyJhbGciOiJSUzI1NiIs...", "refreshToken": "eyJjdHkiOiJKV1QiLCJl...", "expiresIn": 3600, "tokenType": "Bearer" } }
Exchange API client credentials for a bearer token.
The API client ID from the DynamoSQL portal.
The API client secret. Treat as a password.
Authentication successful.
true when the request was processed without errors, false otherwise. Always present.
true
false
Show child attributes
Present in the response body when success is false.
success