This endpoint takes the client_id and client_secret and returns an access token that can be used with any of the Carriyo Shipment endpoints assuming the client_id has access to the target Shipment endpoint.
The access token returned by this endpoint should be used as a bearer token in the 'Authorization' header for any subsequent Shipment endpoints.
The access token should be cached on the client side until its expiry.
{- "client_id": "string",
- "client_secret": "string"
}
{- "access_token": "string",
- "scope": "string",
- "expires_in": "string",
- "token_type": "string"
}