Authentication
Get an Access Token
POST
Get an Access Token
Body
application/x-www-form-urlencoded
The oauth client id
The grant type. Defaults to client_credentials
Available options:
client_credentials Scope the access token to a specific business
Example:
"biz_GA6EG2qFxA97NZHtxeLPUy"
Access token expiration time in seconds
Space-separated list of requested scopes, e.g. 'ledger:read invoice:create'
RFC 8707 resource indicator(s) identifying the protected resource(s) where the token is intended to be used. Sets the JWT aud claim. Each value must be an absolute URI with no fragment. May be repeated. Defaults to the current host.
Example:
["https://api.example.com"]Get an Access Token