OverviewProductsPlatformsAPI ReferenceResources
Creator Campaigns

Reopen campaign submission

POSThttps://zernio.com/api/v1/creator-campaigns/{campaignId}/submissions/{submissionId}/reopen

Puts a rejected submission back to pending_review so it can be decided again. No webhook fires.

Its tracking window resumes, so it works only while that window has not ended.

Authentication

AuthorizationBearer tokenRequired

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

Path parameters

campaignIdstringRequired

Campaign ID.

submissionIdstringRequired

Submission ID.

Headers

Optional
Idempotency-Keystring, max 255

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 (e.g. by a function timeout) can leave its key in progress, answering 409 until the key expires after 24 hours.

On the Ads create, boost and duplicate endpoints, a same-body retry runs again once the cut-off request started more than 15 minutes ago.

Responses

Success· the request worked

Errors· the request failed

How it behaves

When it can't be reopened

  • The tracking window has ended: 409 invalid_resource_state ("This post's tracking window has ended.").
  • A post that earned money which was already paid out cannot be reopened.
  • A post of a closed campaign cannot be reopened.
  • Any status other than rejected or pending_review answers 409.

Reopening a submission that is already pending_review returns it unchanged.

POST/v1/creator-campaigns/{campaignId}/submissions/{submissionId}/reopen
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.creatorcampaigns.reopenCampaignSubmission({  path: {    campaignId: 'campaign_abc123',    submissionId: 'submission_abc123',  },});console.log(data);
{  "submission": {    "id": "string",    "campaignId": "string",    "participantId": "string",    "creatorId": "string",    "accountId": "string",    "hasSparkCode": true,    "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,    "engagementsLatest": 0,    "viewsPaid": 0,    "paidViewsReadAt": "2019-08-24T14:15:22Z",    "lastAccruedViews": 0,    "accruedCents": 0,    "approvedCents": 0,    "authenticityScore": 0,    "authenticityConfidence": 0,    "flags": [      {        "code": "duplicate_media",        "detail": "string",        "raisedAt": "2019-08-24T14:15:22Z"      }    ],    "draftId": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "creator": {      "id": "string",      "displayName": "string",      "avatarUrl": "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"    }  }}
OpenAPI specification
Was this page helpful?