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

Start connecting a creator account

Returns the authorization URL that connects one of the creator's own social accounts, read-only, so their posts can be verified. Send the creator's browser to authUrl; they come back to their participant page. Only the campaign's platforms are accepted.


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

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

import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.creatorportal.startCreatorConnect({  body: {    platform: 'twitter',  },});console.log(data);
{  "authUrl": "http://example.com"}
Was this page helpful?

Email a creator their campaign links

For a creator who lost their link. Emails every personal participant link held by `email` in one message, optionally only the one for `campaignId`. Removed participants and draft campaigns are left out. Always answers 202 with the same body, so the answer never tells whether the address has links. Limited to 5 requests per hour per email address and 5 per hour per IP address.

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.

platform*string

One of the campaign's platforms, for example tiktok.

Length1 <= length <= 40