Skip to main content

Create campaign

POST 

/v1/partnership/campaigns

Create a campaign and its initial tracking link. Supply the campaign metadata and reward schema, then use the returned campaign_code for subsequent campaign and reporting requests.

Required scopes:

  • write: partnership.all.

Rules:

  • title can contain up to 100 characters.
  • partner_code, when supplied, can contain up to 10 characters.

Rate limits:

  • This operation counts toward the shared limit of 600 requests per 60 seconds per partner, across all of the partner's API keys and all Partnership API operations.

Consistency and recovery notes:

  • The current Partnership API does not provide idempotent-write semantics. After a timeout or connection failure, read the affected resource or list before deciding whether to retry.

Possible errors:

  • Throttled
  • ServiceTransportError
  • Error
  • AuthenticationFailed
  • PermissionDenied
  • ValidationError
  • NotFound
  • NotUnique
  • ManyItems

Request​

Responses​

Successful response.