Launch offer: service fee 10% 4% until 31 Dec, just enough to cover card processing. See pricing

Developers

Deals and statuses

A deal is one creator making the videos for one campaign. This is every status it can be in, who moves next, and what your integration can do there.

View as Markdown

How a deal runs

  1. The brand publishes a campaign. Matching creators are ranked into a shortlist, and creators can also ask to join.
  2. The brand invites creators with invite_creators. Each invite is a deal with status invited.
  3. The creator says yes with respond_to_invite. The deal is accepted.
  4. The brand starts the deal on yapfactory.com. Their card is charged and the payment is held. The deal is funded.
  5. The creator films and uploads a draft on yapfactory.com. The deal is draft_submitted.
  6. The brand asks for changes with request_revision, or approves on yapfactory.com. Approving pays the creator.
  7. The deal is completed, and schedule_post can send the video to the brand's own accounts.

Three steps always happen on yapfactory.com, never through the API: starting a deal (charges the brand), approving a draft (pays the creator) and uploading a draft. start_deal and approve_draft return the link to show the person.

Deal statuses

StatusWhat it meansWho moves nextFrom the API
invitedThe brand invited the creator. The invite lasts 2 days.Creatorrespond_to_invite (creator)
declinedThe creator said no, or the invite ran out.Nobodyinvite_creators again re-opens the same deal
acceptedThe creator said yes. The brand has 3 days to start the deal. Nothing is charged yet.Brandstart_deal returns the link; pass_on_creator says not this time
fundedThe brand started the deal. Payment is held by Yap Factory, and the creator films.Creatorsend_deal_message
draft_submittedA draft is waiting for the brand's review. After 3 days without an answer it's approved automatically.Brandrequest_revision; approve_draft returns the link
revision_requestedThe brand sent the draft back with notes. The creator uploads a new version.Creatorsend_deal_message
reshoot_offeredOnly on older deals: a paid re-record was offered.BrandRead only
draft_approvedThe brand approved the draft. The creator is paid and the final file is released.NobodyRead only
postedDelivered and posted (campaigns that include posting).NobodyRead only
completedDone. The video is in the brand's library.Nobodylist_postable_videos, schedule_post
stalledA draft is overdue. One upload puts the deal back in review.Creatorsend_deal_message
cancelledCalled off: the brand passed or cancelled, or a payment never came.NobodyRead only
disputedOne side asked Yap Factory to step in. We decide and both sides are told.Yap FactoryRead only

list_deals with status=open leaves out declined, completed and cancelled. get_deal returns nextStep, a sentence that says what happens next in the person's own words, so show that instead of writing your own.

Every status change sends a deal.updated webhook with status and previousStatus.

Campaign statuses

StatusWhat it means
draftOnly the brand can see it. The brief can be changed freely.
liveCreators can see it and ask to join. The brand can invite.
pausedHidden from creators. Deals already under way carry on.
closedFinished. Deals already under way carry on.

publish_campaign takes a draft live. set_campaign_status moves between live, paused and closed.

Campaign templates

TemplateWhat the creator makesWhere the brand can use it
one_video1 videoThe brand's own channels, no ads
test_openings1 video with 3 different openingsThe brand's own channels, no ads
ad_bundle3 videosPaid ads for 3 months

Scheduled post statuses

StatusWhat it means
awaiting_approvalWaiting for the brand to approve it on yapfactory.com.
changes_askedThe brand asked for changes before it goes out.
scheduledWill go out at publishAt.
publishingBeing sent to TikTok or Instagram now.
in_draftsSent to the account's TikTok drafts. The person finishes it in the TikTok app.
livePosted. postUrl has the link.
needs_actionStopped. problem says why, and the person fixes it on yapfactory.com.
missedIts time passed before it was approved.
cancelledCancelled before it went out.

list_posts with status=upcoming returns everything that hasn't gone out yet. post.published and post.failed webhooks tell you when one lands or stops.

The next step: `gettingStarted`

GET /me (the get_account tool) returns gettingStarted: the one next thing worth doing, as { step, say, url }, or null when nothing is waiting. say is a sentence for the person; url is there when the step happens on yapfactory.com.

`step`WhoMeans
confirm_emailEveryoneThe email isn't confirmed yet. Nothing that acts works until it is.
start_dealBrandA creator said yes. Start the deal on its page to secure payment.
review_draftBrandA draft is waiting for review.
create_campaignBrandNo campaigns yet: draft the first one.
publish_campaignBrandThere are drafts but nothing live.
invite_creatorsBrandA campaign is live with nobody invited.
answer_inviteCreatorA brand's invite is waiting for a yes or no.
upload_draftCreatorPayment is secured, or changes were asked for: film and upload on the deal page.
browse_campaignsCreatorNo open deals: look for campaigns to make.
finish_profile, finish_onboardingEveryoneSign-up isn't finished on yapfactory.com.