Join a campaign
Accepts a participant invite, or joins through an open invite link.
- Participant token: the body is ignored and the invite is accepted.
- Open invite token: a new participant is created from
displayName(required) andemail(optional), and a fresh participant token comes back. Keep it: it is the creator's only key to their page. - On a campaign with
joinApproval: manual, an open-link joiner landspendingandcampaign_participant.pendingfires instead ofcampaign_participant.joined. A pending creator holds no place undercaps.maxParticipants(the limit is checked when the operator approves them) and cannot submit posts, drafts or sample requests until approved. Personal invites always get straight in.
Open-link joins are limited to about 20 per IP address and 60 per link every 10 minutes.
Path parameters
A participant token or an open invite token. A malformed token answers 404 like an unknown one.
Body
application/jsonOptional parameters2 fields
Required when joining through an open invite link.
Responses
Success· the request worked
Errors· the request failed
Set a post's Spark code
The creator pastes the Spark code of one of their TikTok posts (generated in the TikTok app under the post's ad settings), so the brand can run the post as a Spark Ad under the creator's handle. Send `null` to clear it. The code is never returned: submissions only expose `hasSparkCode`.
Get an upload URL for a draft
Returns a presigned URL to upload one draft file to, on a campaign with `requireDraftApproval`. `PUT` the file to `uploadUrl` with the same `Content-Type`, then pass `publicUrl` as `mediaUrl` to `POST /public/creator-campaigns/{token}/drafts`. The URL expires after `expiresIn` seconds. Accepted files: MP4, MOV or WebM video, JPG, PNG or WebP image, up to 500 MB. About 20 uploads per participant every 10 minutes.