Authentication

Last updated on Feb 05, 2025

API endpoints are protected and therefore require that you authenticate using an access token.

Generate a token

  • Navigate to your Mixpost dashboard.

  • Click on Access Tokens from the user menu.

  • Click on Create.

  • Give it a name, then click on Create.

  • Copy your token.

Use your token

You can authenticate by adding an Authorization header to all your HTTP calls. The Authorization header is formatted as such: Authorization: Bearer <token> (replace <token> with your token previously generated).

The URL for API endpoints within Mixpost is as follows:

https://app.allpost.co/in/api/*

Example:

curl -L -X GET 'https://app.allpost.co/in/api/3bbd0951-5b04-432b-b2a0-688588b0720e/accounts' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer myCoolToken'