Skip to content
API reference/Campaigns

Add campaign sponsor

Create a sponsor on an owned campaign. The leads portal credential is not returned by this write scope; use leads portal discovery with leads:read.

POST/api/v1/campaigns/{token}/sponsors

Authentication

Send your workspace key as xi-api-key or Authorization: Bearer.

campaigns:writewrite

Parameters

Named placeholders belong in the path. Other arguments use a JSON body.

tokenRequired
string
nameRequired
string
tierRequired
string

Response

JSON response with status 200.

Requests and errors →
Illustrative arguments
{
  "token": "YOUR_VALUE",
  "name": "YOUR_VALUE",
  "tier": "YOUR_VALUE"
}
Input schema
{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "pattern": "^[a-zA-Z0-9_-]+$"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160
    },
    "tier": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  },
  "required": [
    "token",
    "name",
    "tier"
  ],
  "additionalProperties": false
}
Response schema
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "ok"
  ],
  "additionalProperties": false
}