Skip to content
Docs menu

API reference

Opportunities

Creator side of open campaigns: offers with a set price per post that your accounts can accept.

GET/v1/opportunities

List opportunities

Creator side. Live open campaigns your connected accounts can accept, listed in the marketplace or not: the advertiser's price per post, your earning after the platform fee, requirements, creatives, remaining slots and a per-account fit: blockers are what stops the account (the advertiser's requirements, an exclusion, or its place in the marketplace), warnings are your own policy and rates, and price_blocker says your own usage rights prices stop the account (the campaign stays listed with can_accept: false): they come to more than the platform allows on one deal, so lower them, or the campaign asks for usage rights and the account has no usage rights prices (needs_usage_rights_prices: true), so set one or choose no_extra_cost with PUT /v1/accounts/{id}/usage-rights-prices. total_cents is the offer plus your add-on, total_earning_cents is what you'd earn on it (null without permission to view earnings), over_budget means that total is more than the campaign has left (you can still apply, but the advertiser has to raise the budget to approve it) and usage_period_unpriced means the campaign sets no usage period, so your per-day price isn't charged. excluded: true means the advertiser excluded that account from the campaign: it can't book or apply until they lift that, and the reason is in blockers. already_posted: true means the account already posted on the campaign (its post completed, was removed early or is disputed): an account takes an open campaign once, so it can't book or apply to it again, and the reason is in blockers (placement is its latest placement on the campaign). marketplace_block says the account can't take any open campaign: removed_from_marketplace when an admin removed it from the marketplace (contact support to have it reviewed), needs_marketplace_terms when you haven't agreed to the current marketplace terms for it (agree on the account's page in the app); the reason is in blockers. An account you unlisted yourself can still take open campaigns. The campaign stays listed with can_accept: false when an exclusion or marketplace_block is all that keeps the account from it. By default only campaigns that pass your policy are listed; set matching_only=false to see the rest.

Scopeaccounts:read or placements:readMCP toollist_opportunities
Query parameters
limit
integerPage size, 1–100 (default 25)
cursor
stringnext_cursor from the previous page
account_id
stringOnly evaluate this account
category
stringContent category key
format
stringOnly campaigns with a creative in this format
min_price_cents
integer
matching_only
boolean | "0" | "1" | "true" | "false"Only campaigns that pass your policy and rates (default true)
sort
"newest" | "price" | "ending"
Request
curl "https://sqa.coboost.ai/api/v1/opportunities" \
  -H "Authorization: Bearer $COBOOST_API_KEY"
Response · 200
{
  "object": "list",
  "data": [
    {
      "id": "cmf0cmp002",
      "name": "Glow Ambassadors",
      "description": "Show your morning routine with our vitamin C serum.",
      "category": "beauty",
      "objective": "awareness",
      "status": "active",
      "advertiser": {
        "id": "cmf0ws0001",
        "name": "Lumen Skincare",
        "logo_url": null,
        "verified": true,
        "website": "https://lumen.example"
      },
      "price_cents": 30000,
      "earning_cents": 27000,
      "currency": "USD",
      "acceptance_mode": "instant",
      "collab": true,
      "collab_handles": [
        "lumen.skincare"
      ],
      "usage_rights": {
        "duration_days": 90,
        "channels": [
          {
            "key": "website",
            "label": "Brand website"
          }
        ],
        "paid_amplification": false,
        "exclusivity_days": null
      },
      "start_date": null,
      "end_date": "2026-12-15T07:59:59.999Z",
      "time_zone": "America/Los_Angeles",
      "slots_left": 12,
      "requirements": {
        "categories": [
          "beauty",
          "lifestyle"
        ],
        "countries": [
          "US",
          "GB"
        ],
        "min_followers": 10000,
        "max_followers": null,
        "min_engagement": 2
      },
      "landing_url": "https://lumen.example/serum",
      "creatives": [
        {
          "id": "cmf0crt002",
          "name": "Serum reel",
          "format_key": "ig_reel",
          "caption": "My 5-step morning routine #ad",
          "hashtags": [
            "#ad"
          ],
          "cta": "Shop now",
          "link_url": "https://lumen.example/serum",
          "media": [],
          "ai_generated": false,
          "digest": "8b3e1f6a0c9d2e5b7a4f1c8e3d6b9a2f5c0e7d4a1b8f3e6c9d2a5b0f7e4c1a8d"
        }
      ],
      "accounts": [
        {
          "account_id": "cmf0acc001",
          "username": "maya.creates",
          "avatar_url": null,
          "followers": 48200,
          "creative_ids": [
            "cmf0crt002"
          ],
          "blockers": [],
          "warnings": [],
          "can_accept": true,
          "placement": null,
          "already_posted": false,
          "excluded": false,
          "marketplace_block": null,
          "usage_rights_price": null,
          "price_blocker": null,
          "needs_usage_rights_prices": false,
          "usage_period_unpriced": false,
          "total_cents": 30000,
          "total_earning_cents": 27000,
          "over_budget": false
        }
      ],
      "launched_at": "2026-10-20T10:00:00.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
GET/v1/opportunities/{id}

Get an opportunity

Creator side. One open campaign with per-account fit, as in GET /v1/opportunities: an account with marketplace_block or already_posted: true can't take it, with the reason in blockers. Campaigns that closed are still returned when one of your accounts joined them (live: false).

Scopeaccounts:read or placements:readMCP toolget_opportunity
Path parameters
idrequired
stringCampaign ID
Request
curl "https://sqa.coboost.ai/api/v1/opportunities/id_123" \
  -H "Authorization: Bearer $COBOOST_API_KEY"
Response · 200
{
  "id": "cmf0cmp002",
  "name": "Glow Ambassadors",
  "description": "Show your morning routine with our vitamin C serum.",
  "category": "beauty",
  "objective": "awareness",
  "status": "active",
  "advertiser": {
    "id": "cmf0ws0001",
    "name": "Lumen Skincare",
    "logo_url": null,
    "verified": true,
    "website": "https://lumen.example"
  },
  "price_cents": 30000,
  "earning_cents": 27000,
  "currency": "USD",
  "acceptance_mode": "instant",
  "collab": true,
  "collab_handles": [
    "lumen.skincare"
  ],
  "usage_rights": {
    "duration_days": 90,
    "channels": [
      {
        "key": "website",
        "label": "Brand website"
      }
    ],
    "paid_amplification": false,
    "exclusivity_days": null
  },
  "start_date": null,
  "end_date": "2026-12-15T07:59:59.999Z",
  "time_zone": "America/Los_Angeles",
  "slots_left": 12,
  "requirements": {
    "categories": [
      "beauty",
      "lifestyle"
    ],
    "countries": [
      "US",
      "GB"
    ],
    "min_followers": 10000,
    "max_followers": null,
    "min_engagement": 2
  },
  "landing_url": "https://lumen.example/serum",
  "creatives": [
    {
      "id": "cmf0crt002",
      "name": "Serum reel",
      "format_key": "ig_reel",
      "caption": "My 5-step morning routine #ad",
      "hashtags": [
        "#ad"
      ],
      "cta": "Shop now",
      "link_url": "https://lumen.example/serum",
      "media": [],
      "ai_generated": false,
      "digest": "8b3e1f6a0c9d2e5b7a4f1c8e3d6b9a2f5c0e7d4a1b8f3e6c9d2a5b0f7e4c1a8d"
    }
  ],
  "accounts": [
    {
      "account_id": "cmf0acc001",
      "username": "maya.creates",
      "avatar_url": null,
      "followers": 48200,
      "creative_ids": [
        "cmf0crt002"
      ],
      "blockers": [],
      "warnings": [],
      "can_accept": true,
      "placement": null,
      "already_posted": false,
      "excluded": false,
      "marketplace_block": null,
      "usage_rights_price": null,
      "price_blocker": null,
      "needs_usage_rights_prices": false,
      "usage_period_unpriced": false,
      "total_cents": 30000,
      "total_earning_cents": 27000,
      "over_budget": false
    }
  ],
  "launched_at": "2026-10-20T10:00:00.000Z",
  "live": true,
  "can_act": true
}
POST/v1/opportunities/{id}/accept

Accept an opportunity

Creator side. Accept an open campaign with one of your accounts and one of the campaign's creatives. instant campaigns book the slot right away (funds move from the campaign's escrow and the post is scheduled); review campaigns create an application (pending_advertiser) the advertiser approves or declines. If you charge for the campaign's usage rights, your add-on goes on top of the offer and the acceptance is always an application, so the advertiser sees the total first (accounts[].usage_rights_price, total_cents): check accounts[].over_budget, because an application the budget can't cover can't be approved until the advertiser raises it. While the platform requires a price before usage rights can be taken, a campaign that asks for them returns 409 with needs_usage_rights_prices for an account that has none: set one, or choose no_extra_cost, with PUT /v1/accounts/{id}/usage-rights-prices first. An account the advertiser excluded from the campaign (accounts[].excluded) returns 409 with excluded_by_advertiser. An account that already posted on the campaign (accounts[].already_posted: its post completed, was removed early or is disputed) returns 409 with already_posted in details, with that post's placement_id and placement_status: each account takes an open campaign once. An account an admin removed from the marketplace returns 409 with removed_from_marketplace (contact support to have it reviewed), and one you haven't agreed to the current marketplace terms for returns 409 with needs_marketplace_terms (agree on the account's page in the app): accounts[].marketplace_block says so before you try. An account you unlisted yourself can still accept. Bookings already made aren't affected, but the advertiser can't approve an application still waiting on them once an admin has removed the account from the marketplace (they can decline it, or it expires); one whose agreement to the terms lapsed after applying can still be approved. Accepting approves the creative as it is: pass its digest from the opportunity as expected_digest and an acceptance of a creative the advertiser changed after you read it returns 409 instead.

Scopeplacements:writeMCP toolaccept_opportunity
Path parameters
idrequired
stringCampaign ID
Body
account_idrequired
stringYour connected account
creative_idrequired
stringOne of the campaign's creatives
message
stringOptional note to the advertiser
expected_digest
stringThe creative's digest from GET /v1/opportunities/{id} when you reviewed it: refused (409) if the advertiser changed it since
Request
curl -X POST "https://sqa.coboost.ai/api/v1/opportunities/id_123/accept" \
  -H "Authorization: Bearer $COBOOST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"account_id":"cmf0acc001","creative_id":"cmf0crt002","expected_digest":"8b3e1f6a0c9d2e5b7a4f1c8e3d6b9a2f5c0e7d4a1b8f3e6c9d2a5b0f7e4c1a8d"}'
Response · 201
{
  "object": "opportunity_acceptance",
  "placement_id": "cmf0plc009",
  "status": "scheduled",
  "scheduled_at": "2026-11-02T15:00:00.000Z",
  "placement": {
    "id": "cmf0plc009",
    "object": "placement",
    "side": "creator",
    "status": "scheduled",
    "origin": "open",
    "price_cents": 45000,
    "platform_fee_cents": 4500,
    "net_payout_cents": 40500,
    "currency": "USD",
    "campaign": {
      "id": "cmf0cmp001",
      "name": "Autumn glow launch",
      "type": "targeted",
      "objective": "launch",
      "category": "beauty",
      "advertiser": {
        "id": "cmf0ws0001",
        "name": "Lumen Skincare",
        "verified": true
      },
      "start_date": "2026-11-01T00:00:00.000Z",
      "end_date": "2026-11-30T00:00:00.000Z"
    },
    "pending_status": null,
    "account": {
      "id": "cmf0acc001",
      "object": "account",
      "platform": "instagram",
      "username": "maya.creates",
      "display_name": "Maya",
      "avatar_url": null,
      "followers": 48200,
      "engagement_rate": 4.1,
      "country": "US"
    },
    "creative": {
      "id": "cmf0crt001",
      "object": "creative",
      "name": "Serum reel",
      "campaign_id": "cmf0cmp001",
      "template_id": null,
      "persona_id": null,
      "format": "ig_reel",
      "caption": "Glow season is here. #ad",
      "hashtags": [
        "#ad",
        "#skincare"
      ],
      "cta": "Shop now",
      "link_url": "https://lumen.example/serum",
      "media": [],
      "status": "ready",
      "ai_generated": false,
      "version": 1,
      "kind": "standard",
      "parent_id": null,
      "variant_for_account_id": null,
      "angle": null,
      "design_template_id": null,
      "caption_template_id": null,
      "variant_status": null,
      "design_id": null,
      "created_at": "2026-10-20T10:00:00.000Z",
      "updated_at": "2026-10-20T10:00:00.000Z"
    },
    "creator_caption": null,
    "is_collab": true,
    "collab_handles": [
      "lumen.skincare"
    ],
    "collab_price_cents": 0,
    "usage_rights": {
      "price_cents": 0,
      "price_lines": [],
      "duration_days": 90,
      "channels": [
        {
          "key": "website",
          "label": "Brand website"
        }
      ],
      "paid_amplification": false,
      "exclusivity_days": null
    },
    "brief": null,
    "requested_publish_at": null,
    "negotiation": {
      "offer_price_cents": null,
      "counter_price_cents": null,
      "rounds": 0
    },
    "scheduled_at": null,
    "published_at": null,
    "completed_at": null,
    "expires_at": "2026-10-30T10:00:00.000Z",
    "permalink": null,
    "tracked_link": "https://coboost.ai/l/9b1e4d7a20c35f86",
    "auto_approved": false,
    "decision_reason": null,
    "decided_at": null,
    "failure_reason": null,
    "late_cancel_fee_cents": null,
    "created_at": "2026-10-28T10:00:00.000Z",
    "updated_at": "2026-10-28T10:00:00.000Z",
    "content_digest": null
  }
}