Skip to main content
POST https://api.speccheckrx.com/v1/oauth/token

Body

client_id
string
required
The client ID that identifies your application.
client_secret
string
required
The client secret for your application.

Returns

Returns an object with a token for authenticating subsequent API requests.
token
string
The bearer token. Include this value in the Authorization header as Bearer <token> on subsequent requests. Expires after 24 hours. As a best practice, request a new token before each API call.
{
  "token": "tok_123"
}
curl -X POST "https://api.speccheckrx.com/v1/oauth/token" \
  -H "Content-Type: application/json" \
  -d '{
    "client_id": "{{CLIENT_ID}}",
    "client_secret": "{{CLIENT_SECRET}}"
  }'