Body
Client credentials to obtain OAuth token
The scopes you want to request access to. Available: read:builders
, read:subcontractors
, read:prequalifications
, read:insurances
, read:swms
, read:timesheets
, read:contacts
.
"read:builders read:subcontractors read:prequalifications read:insurances"
The audience for the token (resource server identifier).
https://api.buildpass.global
"https://api.buildpass.global"
The grant type you want to use. Currently only client_credentials
is supported.
client_credentials
"client_credentials"
Your client ID. Can be provided in request body or via HTTP Basic Authentication.
"your_client_id"
Your client secret. Can be provided in request body or via HTTP Basic Authentication.
"your_client_secret"
Response
Token response
The access token that can be used in the Authorization header to access the API.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
The type of token that was issued.
"Bearer"
The number of seconds until the token expires.
3600
The number of seconds until the token expires. Deprecated, use expires_in instead.
3600
The scopes that were granted for this token.
"read:builders read:subcontractors"