Generate Access Token
This API is used to generate an access token using the Key ID and Secret API Key created from the Manage API Keys page
Validity of the auth token is 60min ,post that we need to recall the API for fresh auth token value.
Replace the {{BaseURL}}
with the one mentioned here
POST
{{BaseURL}/organisations/{organisationid}/campaigns/token
{organisationid}: This can be taken directly from the self serve portal under the API Setup Page

Headers
Name
Value
Description
X-Public-Access
allow
Required
Body
Name
Type
Description
api_key
string
Required API key from the API Set up Page
key_id
string
Required Key ID from the API Setup Page

Request
{
"api_key": "9325a824-8a9b-4684-99d3-33c10b8ae1d3",
"key_id": "ad1c032c-2856-4cf8-9b1f-20b555b610d7"
}
{
"token": "a4p0sTtfFbsSfRlm4_CazHEbv0guHq4u0tID1TTe4CX4KIu_20BMgI0Bc7qXdmr7",
"created_at": "2025-08-19T06:27:31.193Z"
}
Last updated
Was this helpful?