Developers
REST API reference
30 operations, grouped by what they touch. Each one has its own page with parameters, an example and the errors it can return.
View as Markdownhttps://yapfactory.com/api/v1Send your token as Authorization: Bearer …. Bodies are JSON. Every success is { "data": … } and every error is { "error": … }. The OpenAPI 3.1 spec describes all of it, for code generators and API clients.
- Quickstart: your first call in a few minutes.
- Errors, Pagination, idempotency and limits and Webhooks.
- Money moves only on yapfactory.com. The two money operations return a link instead.
Account
Who is signed in and what this connection can do.
Deals
A deal is one creator making the videos for one campaign. Both sides can read and message.
/dealsList dealsGET/deals/{dealId}Get a dealPOST/deals/{dealId}/messagesMessage the other side of a dealPOST/deals/{dealId}/passPass on a creatorBrandsPOST/deals/{dealId}/revisionsAsk for changes to a draftBrandsPOST/deals/{dealId}/answerAnswer an inviteCreatorsPOST/deals/{dealId}/startStart a deal (payment link)BrandsPOST/deals/{dealId}/approveApprove a draft (review link)BrandsCampaigns
A brand's campaigns: the brief, the shortlist and the invites.
/productsList your productsBrandsGET/campaignsList campaignsBrandsGET/campaigns/{campaignId}Get a campaignBrandsPOST/campaignsDraft a campaignBrandsPATCH/campaigns/{campaignId}/briefEdit a campaign briefBrandsPOST/campaigns/{campaignId}/publishPublish a campaignBrandsPOST/campaigns/{campaignId}/statusPause, resume or close a campaignBrandsPOST/campaigns/{campaignId}/invitesInvite creatorsBrandsCreators
Creators a brand can invite, as brands see them.
Marketplace
Live campaigns, as creators see them.
/marketplace/campaignsBrowse campaignsCreatorsGET/marketplace/campaigns/{campaignId}Read a campaign briefCreatorsPOST/marketplace/campaigns/{campaignId}/askAsk to join a campaignCreatorsPosts
Schedule videos and photos to the brand's own TikTok and Instagram accounts. On TikTok the person always chooses the audience; there's no default, and comments, Duet and Stitch start off.
/posts/accountsList accounts you can post toBrandsGET/posts/accounts/{accountId}Get posting options for an accountBrandsGET/posts/videosList videos you can postBrandsPOST/posts/uploadsUpload your own video or photo to postBrandsPOST/postsSchedule a postBrandsGET/postsList scheduled postsBrandsPATCH/posts/{postId}Change a scheduled postBrandsPOST/posts/{postId}/cancelCancel a scheduled postBrands