cURL
curl --request POST \ --url https://api.propelcode.ai/v1/auth/tokens \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "scopes": [ "reviews:read" ], "expires_in_days": 183 } '
{ "token_id": 123, "token": "<string>", "name": "<string>", "scopes": [ "<string>" ], "expires_at": "2023-11-07T05:31:56Z" }
Create a company-scoped review API token with read and write scopes.
Dashboard authentication token.
Token display name.
1
reviews:read
reviews:write
Optional token lifetime in days.
1 <= x <= 365
Token created.