Create campaign invite link
Creates the campaign's open invite link: anyone with it can join as a participant (up to
caps.maxParticipants). Creating a new link revokes the previous one. The URL is returned only
here. Answers 409 on a closed campaign.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Campaign ID.
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.createCampaignInviteLink({ path: { campaignId: 'campaign_abc123', },});console.log(data);{ "inviteUrl": "http://example.com"}Create campaign adjustment
Posts a manual adjustment to a participant's payable balance against the campaign budget: a positive amount credits the participant (a bonus), a negative one claws back. `cause` is kept on the ledger entry. A claw-back larger than the payable balance answers 409.
Invite campaign participant
Invites one creator and returns their personal invite URL. Send it to the creator: on that page they connect their accounts (read-only), submit posts and see their earnings. The URL is returned only here; inviting again creates no second link (409 for a creator already in the campaign). A creator is matched by email within your workspace, so the same person keeps one identity across your campaigns. Answers 409 on a closed campaign and 403 `feature_not_available` once `caps.maxParticipants` is reached.