Authentication
The API uses PixelBin API tokens to authenticate requests. You can generate and manage API tokens in the dashboard on the Tokens page. If you don't include your key when making an API request or use an incorrect or outdated one, we return an error.
Authentication to the API is performed via HTTP Bearer Token Authentication. The API token must be base64 encoded before being used. You can provide your key in the Authorization header in the following format
Authorization: Bearer BASE_64_ENCODED_API_KEY
For Example, if your API token is sample-api-token-b455-7ed478937
, then the header value will be
Authorization: Bearer c2FtcGxlLWFwaS10b2tlbi1iNDU1LTdlZDQ3ODkzNw==
Error
If not present, Pixelbin throws an Invalid authorization token
error.