Zernio
APIFor you
Zernio
APIFor you
API Reference

Creator Portal

Open the creator's Stripe dashboardPOSTDownload a payout statementGETList a creator's earnings historyGETRead a creator invite or participant pageGETJoin a campaignPOSTEmail a creator their campaign linksPOSTStart connecting a creator accountPOSTStart payout onboardingPOSTSubmit a postPOST
Dashboard
OverviewPlatformsAPI ReferenceResources
Creator Portal

Submit a post

Submits the link to a post the creator published from a connected account. The post opens a tracking window and fires campaign_submission.received to the operator. About 30 attempts and 10 accepted posts per participant every 10 minutes.


POST
/public/creator-campaigns/{token}/submissions

Path Parameters

token*string

A participant token or an open invite token. A malformed token answers 404 like an unknown one.

Match^[A-Za-z0-9_-]{16,128}$

Request 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.creatorportal.submitCreatorPost({  body: {    url: 'https://example.com',  },});console.log(data);
{  "submission": {    "id": "string",    "platform": "string",    "postId": "string",    "url": "string",    "status": "received",    "submittedAt": "2019-08-24T14:15:22Z",    "publishedAt": "2019-08-24T14:15:22Z",    "views": 0,    "earnedCents": 0,    "rejectReason": "string",    "flags": [      "unreachable"    ],    "trackingEndsAt": "2019-08-24T14:15:22Z"  }}
Was this page helpful?

Start payout onboarding

For a campaign that pays through the Zernio treasury: creates the creator's payee on first use and returns a Stripe-hosted onboarding link where they enter identity and bank details. `country` is required the first time and cannot change afterwards. About 20 attempts per participant every 10 minutes.

List payees

Payees you can transfer to. A payee can receive transfers once `payoutsEnabled` is true. A profile-scoped key answers 403.

url*string

The public link to the post.

Length1 <= length <= 2048