Zernio
APIFor you
Zernio
APIFor you
API Reference

Creator Campaigns

List campaign ledgerGETList campaign participantsGETList campaign payablesGETList payout batchesGETList campaign submissionsGETList creator campaignsGETCreate campaign adjustmentPOSTCreate campaign invite linkPOSTInvite campaign participantPOSTPay creators with one card paymentPOSTCreate creator campaignPOSTGet campaign participantGETGet campaign reportGETGet campaign submissionGETGet creator campaignGETUpdate creator campaignPATCHActivate creator campaignPOSTApprove campaign submissionPOSTClose creator campaignPOSTPause creator campaignPOSTRaise creator campaign budgetPOSTReinstate campaign participantPOSTReject campaign submissionPOSTRemove campaign participantPOSTReopen campaign submissionPOSTSettle campaign participantPOSTSuspend campaign participantPOST
Dashboard
OverviewPlatformsAPI ReferenceResources
Creator Campaigns

Remove campaign participant

Removes the participant from the campaign. Their earnings stay in the ledger. Removing an already removed participant returns it unchanged.


POST
/v1/creator-campaigns/{campaignId}/participants/{participantId}/remove

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

campaignId*string

Campaign ID.

participantId*string

Participant ID.

Response Body

application/json

application/json

application/json

application/json

application/json

import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.creatorcampaigns.removeCampaignParticipant({  path: {    campaignId: 'campaign_abc123',    participantId: 'participant_abc123',  },});console.log(data);
{  "participant": {    "id": "string",    "campaignId": "string",    "creator": {      "id": "string",      "displayName": "string",      "email": "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"    }  }}
Was this page helpful?

Reject campaign submission

Rejects a submission (also one already approved) and fires `campaign_submission.rejected`. Its tracking window is cancelled and its unsettled earnings return to the campaign budget. Rejecting a rejected submission returns it unchanged; an expired or withdrawn one answers 409.

Reopen campaign submission

Puts a rejected submission back to `pending_review` so it can be decided again. Its tracking window resumes, so it works only while that window has not ended; otherwise 409 `invalid_resource_state` ("This post's tracking window has ended."). A post that earned money which was already paid out cannot be reopened, and neither can a post of a closed campaign. Reopening a submission that is already `pending_review` returns it unchanged; any other status answers 409. No webhook fires.