post-/oauth/v1/token create
POST {{baseUrl}}/oauth/v1/token
Request Body
[{"name"=>"grant_type", "value"=>"authorization_code", "datatype"=>"string"}, {"name"=>"code", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"redirect_uri", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"client_id", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"refresh_token", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"access_token":"\u003cstring\u003e","expires_in":"\u003cinteger\u003e","refresh_token":"\u003cstring\u003e","token_type":"\u003cstring\u003e","id_token":"\u003cstring\u003e"}