Creator Campaigns

Approve campaign submission

Changed on

Approves a tracking or pending_review submission of an active campaign and fires campaign_submission.approved.

The Zernio dashboard offers Approve only on pending_review (a post that needs a decision) and waits for tracking posts to get there. The API accepts tracking so an integration can approve early.

Earnings

  • What the post earned so far moves to owed and is held for the campaign's holdDays.
  • Later earnings post straight to owed.
  • A per-post campaign pays perApprovedPostCents here.

Errors

  • 409: the submission is in any other state.
  • 409 (invalid_resource_state, "This post is already approved in another campaign of yours."): the same post was approved in another of your campaigns, so one post never earns twice.
post/v1/creator-campaigns/{campaignId}/submissions/{submissionId}/approve

Request

  • Base URL
    https://zernio.com/api
  • URL
    https://zernio.com/api/v1/creator-campaigns/{campaignId}/submissions/{submissionId}/approve
  • Auth
    HTTP bearer

Path parameters

campaignIdstring required

Campaign ID.

submissionIdstring required

Submission ID.

Headers

Idempotency-Keystring

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.

Response

Submission approved

Changes

    • warning

      added the new organic_unverified enum value to the /// response property for the response status

    • warning

      added the new paid_views enum value to the /// response property for the response status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status