OverviewProductsPlatformsAPI ReferenceResources
Creator Campaigns

Suspend campaign participant

POSThttps://zernio.com/api/v1/creator-campaigns/{campaignId}/participants/{participantId}/suspend

Suspends an active participant: they can no longer submit posts. Any other status answers 409.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

campaignIdstringRequired

Campaign ID.

participantIdstringRequired

Participant ID.

Responses

Success· the request worked

Errors· the request failed

POST/v1/creator-campaigns/{campaignId}/participants/{participantId}/suspend
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.creatorcampaigns.suspendCampaignParticipant({  path: {    campaignId: 'campaign_abc123',    participantId: 'participant_abc123',  },});console.log(data);
{  "participant": {    "id": "string",    "campaignId": "string",    "creator": {      "id": "string",      "displayName": "string",      "email": "string",      "avatarUrl": "string"    },    "status": "invited",    "joinedAt": "2019-08-24T14:15:22Z",    "accounts": [      {        "accountId": "string",        "verifiedAt": "2019-08-24T14:15:22Z",        "platform": "string",        "username": "string"      }    ],    "balances": {      "accruing": 0,      "owed": 0,      "payable": 0,      "settling": 0,      "settled": 0    },    "flags": [      {        "code": "linked_accounts",        "detail": "string",        "raisedAt": "2019-08-24T14:15:22Z"      }    ],    "submissionCounts": {      "received": 0,      "tracking": 0,      "pending_review": 0,      "approved": 0,      "rejected": 0,      "expired": 0,      "withdrawn": 0    },    "payout": {      "status": "not_started"    }  }}
OpenAPI specification
Was this page helpful?