Creating a partner access token

The partner access token allows a specific partner to authenticate into the platform in order to manage their campaigns. After creating the partner access token, the value of the authentication_token field must then be used to build the URLs that will allow the partner to access a specific campaign.

JSON

Request

POST /api/v1/events/{event_id}/partners/{partner_id}/partner_campaigns/{partner_campaign_id}/partner_access_tokens.json?auth_token=YOUR_API_TOKEN
Content-Type: application/json; charset=utf-8
{
  // No body is necessary
}

Response

// 201 CREATED
{
  "_id":"<IDENTIFIER>",
  "created_at":"2019-03-01T09:30:00.836Z",
  "partner_campaign_id":"<PARTNER_CAMPAIGN_ID>",
  "updated_at":"2019-03-01T09:30:00.836Z",
  "authentication_token":"yHZZEwsDpxyWhy6ieCHZ"
}