OAuth
OAuth tokens are used in API requests and allow to manage all other Core API objects for which the partner has the appropriate scopes set.
OAuth tokens with the token_type
set to bearer
are passed in request headers (e.g., -H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
) and are used as credentials for the authentication with the API.
The partners with appropriate scopes can generate OAuth tokens both for themselves and for sub-partners, targeting the sub-partners by their secure IDs.
tip
Refer to our How It Works: Using OAuth Tokens section to learn more about what OAuth tokens are, what tokens are available in CarrierX API, what they are used for, and how you can work with them.