Authentication
This article provides an overview of the authentication schemes that our APIs use, organized by the header or other mechanism they use to authenticate with our servers.
Tokens
Depending on the type of API account the credentials belong to, they might expire based on user or developer actions. Most of our tokens are set to expire after 30 days.
Several of our APIs authenticate with Bearer tokens. Bearer tokens authorize both the requester and the recipient because they contain a signed payload that the recipient must successfully decrypt before working with the transmitted data. All requests that use Bearer token require at least two steps. In addition to the request itself, you must also either get, make, or decrypt the token that the request sends or receives.
Most of our REST endpoints use the Authorization
header to authenticate to Axiom servers. For a request to succeed, the access token's API account must have permission to receive the response.
Temporary Bearer Token Generation
To generate temporary token you can simply log in to the platform.
https://api.axiomdata.io/api/token
Supplier Login
Permanent Bearer Token Generation
To generate a permanent token you will need to login into the Axiom platform and visit the page suppliers.axiomdata.io/developers
. From here you will need to click Create API Key

From here you must then give your API token a name

A token will then be generated, please keep this token safe and secure as you will not be able to see it again.

Request Examples
- GET Request
- POST Request
- PUT Request
- DELETE Request
curl --location
--request GET 'https://api.axiomdata.io/api/suppliers/...'
--header 'Authorization: Bearer XXXXXXXXXX'
curl --location
--request GET 'https://api.axiomdata.io/api/suppliers/...'
--header 'Authorization: Bearer XXXXXXXXXX' /
--header 'Content-Type: application/json'
--data-raw '{...}'
curl --location
--request PUT 'https://api.axiomdata.io/api/suppliers/...'
--header 'Authorization: Bearer XXXXXXXXXX'
curl --location
--request DELETE 'https://api.axiomdata.io/api/suppliers/...'
--header 'Authorization: Bearer XXXXXXXXXX'