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.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Campaign ID.
Submission ID.
Header Parameters
Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409. A request cut off mid-handler (for example by a function timeout) can leave its key in progress, answering 409 until the key expires after 24 hours.
length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
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.rejectCampaignSubmission({ path: { campaignId: 'campaign_abc123', submissionId: 'submission_abc123', }, body: { reason: 'string', },});console.log(data);{ "submission": { "id": "string", "campaignId": "string", "participantId": "string", "creatorId": "string", "accountId": "string", "platform": "tiktok", "platformPostId": "string", "platformPostUrl": "string", "externalPostId": "string", "trackingWindowId": "string", "mediaHash": "string", "submittedAt": "2019-08-24T14:15:22Z", "postPublishedAt": "2019-08-24T14:15:22Z", "status": "received", "rejectReason": "string", "reviewRound": 0, "reviewedBy": "string", "reviewedAt": "2019-08-24T14:15:22Z", "viewsAtSubmission": 0, "viewsLatest": 0, "viewsEligible": 0, "lastAccruedViews": 0, "accruedCents": 0, "approvedCents": 0, "authenticityScore": 0, "authenticityConfidence": 0, "flags": [ { "code": "duplicate_media", "detail": "string", "raisedAt": "2019-08-24T14:15:22Z" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "creator": { "id": "string", "displayName": "string" }, "authenticity": { "score": 0, "confidence": 0, "reasons": [ null ] }, "earnedCents": 0, "releasedCents": 0, "paidOutCents": 0, "window": { "id": "string", "endsAt": "2019-08-24T14:15:22Z", "status": "string" }, "post": { "thumbnailUrl": "string", "caption": "string", "accountHandle": "string", "publishedAt": "2019-08-24T14:15:22Z" } }}Reinstate campaign participant
Reinstates a `suspended` participant: they can submit posts again. Any other status answers 409; a removed participant stays removed.
Remove campaign participant
Removes the participant from the campaign. Their earnings stay in the ledger. Removing an already removed participant returns it unchanged.