# POST APIs

Every Genuin API call that creates or changes something: the third-party endpoints first, then the Business Account API (v1) by product. PUT, PATCH and DELETE calls are at the end of each part. Base URLs, authentication and errors are in the [API overview](https://begenuin.com/developers/developer-resources/api/api-overview).

## Third-party API

Base URL: `https://api.begenuin.com` (QA: `https://api.qa.begenuin.com`). Send JSON with `Content-Type: application/json`.

| Call | What it does |
| --- | --- |
| POST /api/thirdparty/auth | Exchanges your api_key and api_secret for a gn-access-token and a refresh token. Authentication: credentials in the body. Reference: [Authentication](https://begenuin.com/developers/developer-resources/api/api-overview#third-party-api-access-token). |
| POST /api/v4/auth/session/refresh | Exchanges a refresh token for a new token pair. Authentication: the refresh token as the bearer. Reference: [Authentication](https://begenuin.com/developers/developer-resources/api/api-overview#third-party-api-access-token). |
| POST /api/thirdparty/community/create | Creates a community under your brand, with its type, access settings and first members. Authentication: gn-access-token. Reference: [Create a community](https://begenuin.com/developers/developer-resources/api/create-a-community-programmatically-using-community-api). |
| POST /api/thirdparty/community/add_users | Adds accounts or phone numbers to a community, or approves a pending join request. Authentication: gn-access-token. Reference: [Add members to a community](https://begenuin.com/developers/developer-resources/api/add-members-to-a-community-programmatically-api). |
| POST /api/thirdparty/community/add_moderators | Gives accounts the moderator role in a community. Authentication: gn-access-token. Reference: [Add moderators to a community](https://begenuin.com/developers/developer-resources/api/assign-moderators-to-community-using-api). |
| POST /api/thirdparty/group/create | Creates a group in a community, with its visibility, posting rules, first members and an optional opening video. Authentication: gn-access-token. Reference: [Create a group in a community](https://begenuin.com/developers/developer-resources/api/create-a-group-programmatically-within-community-using-create-group-api). |
| POST /api/v3/users/video/upload/create_upload_url | Returns a signed URL to upload a video or its thumbnail. Authentication: gn-access-token. Reference: [Post a video to a group](https://begenuin.com/developers/developer-resources/api/post-and-share-a-video-within-a-group-using-the-post-video-api). |
| POST /api/thirdparty/users/conversation/reply | Posts an uploaded video to a group, with a caption, mentions, questions or link-out cards. Authentication: gn-access-token. Reference: [Post a video to a group](https://begenuin.com/developers/developer-resources/api/post-and-share-a-video-within-a-group-using-the-post-video-api). |

### PATCH and DELETE

| Call | What it does |
| --- | --- |
| PATCH /api/thirdparty/update_conversation/{chat_id} | Adds or removes group members, and changes a group's name, description, image, topics or access settings. Authentication: gn-access-token. Reference: [Update a group and its members](https://begenuin.com/developers/developer-resources/api/add-or-manage-group-members-collaborators-using-api). |
| DELETE /api/thirdparty/user | Deletes a member's Genuin account on their behalf. Authentication: your brand API key and the member's id in the query. Reference: [Delete a member account](https://begenuin.com/developers/developer-resources/api/delete-a-member-account). |

## Business Account API (v1)

Base URL: `https://api.begenuin.com/v1`. Authenticate with an API key or an OAuth token; see [Business Account API (v1): API keys and OAuth](https://begenuin.com/developers/developer-resources/api/api-overview#business-account-api-v1-api-keys-and-oauth). Every write returns the resulting resource. A write that your Business Account would ask you to confirm returns `202` with a proposal that you approve with `POST /proposals/{proposalId}:approve`. 65 POST calls:

### Business Account & access

| Call | What it does |
| --- | --- |
| POST /oauth/token | Exchange client credentials for an access token scoped to a Business Account |
| POST /accounts | Create a Business Account (company, first brand, company type, owner email); returns the verification link and a sandbox key |
| POST /accounts/{accountId}/keys | Issue a key with a role scope (sandbox or live) |
| POST /keys/{keyId}:rotate | Rotate a key; the old key keeps working for 24 hours |
| POST /accounts/{accountId}/team/invitations | Invite a teammate with a role and the brands it is scoped to |

### Brands, kit, properties & context

| Call | What it does |
| --- | --- |
| POST /accounts/{accountId}/brands | Create a brand (publisher property, client, product line) under the account |
| POST /accounts/{accountId}/brands:import | Bulk-create brands from a CSV or a list (aggregators: one per property or client) |
| POST /brands/{brandId}/kit:sample | Sample the kit from a URL (homepage, app listing) and return it rendered for review |
| POST /brands/{brandId}/properties | Add a domain or app; returns the DNS TXT and meta-tag verification lines |
| POST /properties/{propertyId}:verify | Trigger verification (DNS, meta tag, or first SDK call) |
| POST /brands/{brandId}/sources | Connect a content source with a read schedule |
| POST /brands/{brandId}/context:crawl | Start or re-run the website crawler across verified properties |

### Network & grid

Product: [How Network works](https://begenuin.com/developers/browse-by-products/network/network-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| POST /brands/{brandId}/placements | Register a placement on a page type |
| POST /brands/{brandId}/placements:import | Import the grid from an ad server's ad units or an inventory map |
| POST /brands/{brandId}/placements:publish | Approve and publish the grid; issues placementIds |

### Onsite placements & players

Product: [How Onsite works](https://begenuin.com/developers/browse-by-products/onsite/onsite-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| POST /placements/{placementId}/experiments | Create an experiment or holdout on a placement |

### Content, communities & Studio

Product: [How Studio works](https://begenuin.com/developers/browse-by-products/studio/studio-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| POST /brands/{brandId}/communities | Create a community (or accept the proposed one) with groups and tags |
| POST /communities/{communityId}/groups | Add a group with its keywords, topics, and categories |
| POST /brands/{brandId}/videos:import | Import videos from a source, URL list, or upload session |
| POST /videos/{videoId}:classify | Re-run classification or set community, group, keywords, topics, categories |
| POST /videos/{videoId}/clips | Studio: generate clips from long-form, with captions, titles, and covers |
| POST /brands/{brandId}/studio/jobs | Studio job: catalog product videos, text-to-video explainers, adaptation per platform, live-to-clips |
| POST /brands/{brandId}/hub:launch | Launch the hub on a Genuin address or a verified domain; issues the live key |
| POST /communities/{communityId}/posts | Post a video or a creator post into a group |
| POST /posts/{postId}:schedule | Schedule, hold, or edit a syndicated post |

### Feeds & distribution

Product: [How Network works](https://begenuin.com/developers/browse-by-products/network/network-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| POST /brands/{brandId}/feeds | Create a feed by keyword, category, brand, or page context |
| POST /feeds/{feedId}:distribute | Approve where a feed may run and what wraps it; starts distribution |
| POST /brands/{brandId}/acceptances | Accept partner content into your placements under your rules |
| POST /brands/{brandId}/destinations | Create an Extended O&O or Generative Destination |

### Members, creators & subscriptions

Product: [How Control works](https://begenuin.com/developers/browse-by-products/control/control-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| POST /sessions | Auto login token exchange: your signed user token for a Genuin session |
| POST /brands/{brandId}/creators:invite | Invite creators with a tier and the groups they may post into |
| POST /brands/{brandId}/rewards | Create a reward for a community; members are rewarded in their Wallet based on the impressions their shares earn |
| POST /brands/{brandId}/tiers | Create or edit a tier: name, price, interval, trial, promo, unlocks, cap |
| POST /brands/{brandId}/tiers:publish | Approve and publish tiers; paid tiers go live when payouts are verified |
| POST /brands/{brandId}/members:import | Import members from CSV, CRM, loyalty, or subscriber file onto a tier |

### Moderation, guidelines & brand safety

Product: [How Control works](https://begenuin.com/developers/browse-by-products/control/control-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| POST /moderation/{itemId}:decide | Approve, remove, or escalate a queued item; appeals use the same call |

### Partners & demand

Product: [How Monetize works](https://begenuin.com/developers/browse-by-products/monetize/monetize-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| POST /brands/{brandId}/partners:invite | Invite a partner with direction, permissions, groups, and split or price |
| POST /partner-requests/{requestId}:decide | Accept or decline an incoming partner request |
| POST /brands/{brandId}/sponsorships | Paid Partner Post or Takeover: offer, budget, CPM, dates, placements |
| POST /demand-sources/{sourceId}:activate | Switch a demand source on (or off) in order |

### Plans, agreements, payouts & revenue

Product: [How Monetize works](https://begenuin.com/developers/browse-by-products/monetize/monetize-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| POST /accounts/{accountId}/agreements | Draft the agreement for the model (revenue share, platform, managed, commerce, buyer) |
| POST /agreements/{agreementId}:send | Route the agreement to the signer; status moves to awaiting signature |
| POST /brands/{brandId}/seller-files:verify | Re-crawl and validate seller files |
| POST /brands/{brandId}/linkouts | Dynamic in-video linkouts and affiliate programs attached to videos or groups |

### Packages & AdCP

Product: [How Monetize works](https://begenuin.com/developers/browse-by-products/monetize/monetize-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| POST /brands/{brandId}/packages | Build a package from placements, feeds, and capabilities with a forecast |
| POST /packages/{packageId}/listings | List a package for buyers (and AdCP) |
| POST /media-buys | Buyer side: buy a package or a Paid Partner Post |
| POST /adcp/media-buys | AdCP create_media_buy |

### Offsite tags, identity & attribution

Product: [How Offsite works](https://begenuin.com/developers/browse-by-products/offsite/offsite-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| POST /brands/{brandId}/tags | Generate an offsite tag: VAST, JavaScript display, dynamic feed, audience extension |
| POST /conversions | Server-side conversion API for attribution postbacks |
| POST /brands/{brandId}/creatives | Turn community content into ad creative for partner pages |

### Supervised Intelligence, proposals & autonomy

Product: [How Supervised Intelligence works](https://begenuin.com/developers/browse-by-products/supervised-intelligence/supervised-intelligence-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| POST /intelligence/ask | Ask a question about the account in plain language; answers with the article and the setting |
| POST /intelligence/act | Ask for a change; returns a proposal to approve |
| POST /proposals/{proposalId}:approve | Approve, edit, or decline a proposal (the confirmation step in every article) |
| POST /intelligence/resolve | Generative commerce routing: resolve intent at serve time to a catalog, partner, or assistant surface |
| POST /support/threads | Open a support thread; Octo answers first and brings in a person when needed |

### Reports & intelligence

Product: [How Supervised Intelligence works](https://begenuin.com/developers/browse-by-products/supervised-intelligence/supervised-intelligence-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| POST /brands/{brandId}/segments | Define a segment from signals and cohorts |
| POST /intelligence/signals | Send your own signals into the graph under consent |

### Webhooks, SDK sessions & billing

Product: [Webhooks and events](https://begenuin.com/developers/developer-resources/api/webhooks-and-events)

| Call | What it does |
| --- | --- |
| POST /accounts/{accountId}/webhooks | Subscribe to events (proposal.created, placement.published, member.subscribed, revenue.posted, moderation.flagged, …) |
| POST /oauth/token | Exchange client credentials for an access token scoped to a Business Account |
| POST /accounts | Create a Business Account (company, first brand, company type, owner email); returns the verification link and a sandbox key |
| POST /accounts/{accountId}/brands:import | Bulk-create brands from a CSV or a list (aggregators: one per property or client) |
| POST /accounts/{accountId}/keys | Issue a key with a role scope (sandbox or live) |
| POST /accounts/{accountId}/team/invitations | Invite a teammate with a role and the brands it is scoped to |
| POST /accounts/{accountId}/webhooks | Subscribe to events (proposal.created, placement.published, member.subscribed, revenue.posted, moderation.flagged, …) |

### PUT and PATCH

24 calls that replace or update a resource.

### Business Account & access

| Call | What it does |
| --- | --- |
| PATCH /accounts/{accountId} | Update company name, type, billing contact, legal entity |
| PATCH /team/{memberId} | Change a role, re-scope brands, require two-factor, or remove |

### Brands, kit, properties & context

| Call | What it does |
| --- | --- |
| PUT /brands/{brandId}/kit | Approve or edit the kit; applies to every player, email, and listing |
| PUT /brands/{brandId}/context | Add or replace a context section (guidelines, audience, policies, technical notes, legal paper) |

### Network & grid

Product: [How Network works](https://begenuin.com/developers/browse-by-products/network/network-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| PUT /brands/{brandId}/network | Choose or change the network model |

### Onsite placements & players

Product: [How Onsite works](https://begenuin.com/developers/browse-by-products/onsite/onsite-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| PUT /placements/{placementId}/experiences | Allowed player experiences per placement (Shorts, Shoppable, Community, Live) |
| PUT /placements/{placementId}/settings | Player controls, feed settings, sticky mini-player, keywords, mode |

### Content, communities & Studio

Product: [How Studio works](https://begenuin.com/developers/browse-by-products/studio/studio-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| PATCH /communities/{communityId} | Rename, merge, change visibility, guidelines, or tags |
| PUT /brands/{brandId}/syndication | Platform permissions and the posting cadence per platform |

### Feeds & distribution

Product: [How Network works](https://begenuin.com/developers/browse-by-products/network/network-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| PUT /brands/{brandId}/network/listing | How your network appears in the directory |

### Members, creators & subscriptions

Product: [How Control works](https://begenuin.com/developers/browse-by-products/control/control-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| PUT /brands/{brandId}/auth | Auto login provider, claims passed, consent behaviour, member-only communities |
| PATCH /members/{memberId} | Move a member between tiers, comp, pause, or cancel |

### Moderation, guidelines & brand safety

Product: [How Control works](https://begenuin.com/developers/browse-by-products/control/control-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| PUT /brands/{brandId}/moderation | Set the baseline (Standard or Strict) and the queue owners |
| PUT /brands/{brandId}/guidelines | Community guidelines and appeal policy |
| PUT /brands/{brandId}/brand-safety | Brand safety profile, aligned with industry brand safety standards, and competitive exclusions |
| PUT /brands/{brandId}/blocklists | Keyword, topic, advertiser, and domain blocklists |
| PUT /accounts/{accountId}/security | Two-factor requirement and SSO for your Business Account |

### Partners & demand

Product: [How Monetize works](https://begenuin.com/developers/browse-by-products/monetize/monetize-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| PUT /partners/{partnerId}/edge | Change a partner's permissions, groups, or economics |
| PUT /brands/{brandId}/ad-server | Genuin Ad Server or partner ad server connection, floors, and yield rules |

### Plans, agreements, payouts & revenue

Product: [How Monetize works](https://begenuin.com/developers/browse-by-products/monetize/monetize-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| PUT /accounts/{accountId}/plan | Choose or change the plan |
| PUT /accounts/{accountId}/payouts | Payout details and calendar (entered by the owner; verified before paid tiers and demand go live) |

### Offsite tags, identity & attribution

Product: [How Offsite works](https://begenuin.com/developers/browse-by-products/offsite/offsite-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| PUT /brands/{brandId}/identity | ID graph settings: hashed identifiers, consent, channels |

### Supervised Intelligence, proposals & autonomy

Product: [How Supervised Intelligence works](https://begenuin.com/developers/browse-by-products/supervised-intelligence/supervised-intelligence-what-it-does-and-where-to-start)

| Call | What it does |
| --- | --- |
| PUT /brands/{brandId}/autonomy | Per change kind: ask every time, do and report, or off |

### Webhooks, SDK sessions & billing

Product: [Webhooks and events](https://begenuin.com/developers/developer-resources/api/webhooks-and-events)

| Call | What it does |
| --- | --- |
| PUT /accounts/{accountId}/privacy | Data residency, retention, consent defaults, DSAR endpoint |

## Next

- [GET APIs](https://begenuin.com/developers/developer-resources/api/get-apis): every read call.
- [API overview](https://begenuin.com/developers/developer-resources/api/api-overview): authentication, the status check, errors and rate limits.
- [Webhooks and events](https://begenuin.com/developers/developer-resources/api/webhooks-and-events): the events each change emits.
