Read a campaign brief
A live campaign's full brief as a creator sees it: what to make, the deadline, the ad rights, what it pays you line by line, and whether you can ask to join.
View as MarkdownGET
https://yapfactory.com/api/v1/marketplace/campaigns/{campaignId}| Who can use it | Creators |
| Tier | read: Reads. Changes nothing. |
| Scope | marketplace:read, or read |
| Idempotency-Key | Not used |
| Rate limit | Reads: 120 a minute |
| MCP tool | view_campaign_brief |
Parameters
campaignIdpathrequired
The campaign's id.
Example request
curl "https://yapfactory.com/api/v1/marketplace/campaigns/8f14e45f-ceea-4e7a-9b1d-2c3b4a5d6e7f" \
-H "Authorization: Bearer $YAP_API_KEY"Response
200 with the result in data: the same object the MCP tool returns.
{
"data": {
"id": "8f14e45f-ceea-4e7a-9b1d-2c3b4a5d6e7f",
"title": "Morning routine with Sleepwell",
"product": {
"name": "Sleepwell",
"description": "A sleep app that winds you down without your phone.",
"url": "https://apps.apple.com/app/id0000000000"
},
"brand": {
"name": "Sleepwell",
"country": "US",
"website": "https://sleepwell.app",
"rating": {
"average": 4.8,
"count": 6,
"completedDeals": 7,
"onTimeReviewRate": 1,
"medianReviewHours": 9.5,
"medianHoursDraftToPayout": 14
}
},
"brief": {
"keyMessage": "Sleepwell helps you fall asleep in 10 minutes without your phone.",
"hooks": [
"I used to scroll until 2am.",
"My sleep score went from 52 to 81."
],
"cta": "Try it free tonight.",
"dos": [
"Film on your phone, vertical, natural light",
"Show the app on screen within the first 5 seconds"
],
"donts": [
"No health or medical claims"
],
"leftToYou": {},
"exampleVideoUrl": null
},
"lengthSeconds": 30,
"adRights": "Brand's channels, no ads",
"deadline": "2026-12-16T12:00:00.000Z",
"pays": {
"total": {
"minor": 2500,
"currency": "USD",
"formatted": "$25.00"
},
"lines": [
{
"label": "1 × 30s video creation fee",
"amount": {
"minor": 2500,
"currency": "USD",
"formatted": "$25.00"
}
},
{
"label": "Licence: Brand's channels, no ads",
"amount": {
"minor": 0,
"currency": "USD",
"formatted": "$0.00"
}
}
],
"approximate": false
},
"fit": "Great fit",
"fitReasons": [
"You make wellness videos",
"71% of your audience is in the US"
],
"canAsk": true,
"alreadyAsked": false,
"dealId": null,
"whyNot": null,
"url": "https://yapfactory.com/creator/browse/8f14e45f-ceea-4e7a-9b1d-2c3b4a5d6e7f"
}
}An example: fields that don't apply are null, and new fields can be added at any time, so ignore ones you don't know. Every response carries Request-Id and the RateLimit-* headers.
Errors
| Code | Status | When |
|---|---|---|
invalid_request | 400 | A field failed validation (see meta.issues), or an unknown query parameter. |
unauthorized | 401 | No token, or it's wrong, expired, revoked or from the other environment. |
insufficient_scope | 403 | The token doesn't have marketplace:read (or read). |
forbidden | 403 | Only for creators, or the account can't do this yet (email not confirmed, paused). |
not_found | 404 | No such campaign, or it isn't yours. |
rate_limited | 429 | Over the limit. Wait for Retry-After seconds. |
internal | 500 | Our fault. Retry later, and send us the requestId if it keeps happening. |
Every error has the same shape. See Errors for what to do about each one.