Token (OAuth)

POST {{biBaseURL}}/Connect/Token

This method allows you to authenticate to BeyondInsight with the client credentials and allows access to the public API.

Required Environment Variables

  • client_id
  • client_secret

Request Body

[{"name"=>"grant_type", "value"=>"client_credentials", "datatype"=>"string"}, {"name"=>"client_id", "value"=>"{{biAPIClientId}}", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"{{biAPIClientSecret}}", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring
keystring
runasstring

RESPONSES

status: OK

{"access_token":"string","expires_in":"int","token_type":"Bearer","scope":"string"}