Generate access token

POST {{url}}/oauth2/token

Returns an access_token, its' type, scope, expiration time, and refresh_token for a user

By deafult token expires in 30 days

Check out other supported grant types here.

Request Body

[{"name"=>"username", "value"=>"{{user}}", "datatype"=>"string"}, {"name"=>"password", "value"=>"{{password}}", "datatype"=>"string"}, {"name"=>"grant_type", "value"=>"password", "datatype"=>"string"}, {"name"=>"scope", "value"=>"*", "datatype"=>"string"}, {"name"=>"refresh_token", "value"=>"{{refresh_token}}", "datatype"=>"string"}, {"name"=>"code", "value"=>"{{authorization_code}}", "datatype"=>"string"}, {"name"=>"expiration_time", "value"=>"60", "datatype"=>"number"}]

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring