Create Access Token
POST {{base_url}}/security/v1/oauth/token
This HTTP POST allows the user to obtain an access_token that is valid only for the user used to create the OAuth credentials through the UPS Developer Portal.
Request Body
[{"name"=>"grant_type", "value"=>"client_credentials", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"token_type":"Bearer","issued_at":"1706710921672","client_id":"client_id","access_token":"access_token","expires_in":"14399","status":"approved"}