---
search:
  tags:
    - Creatives
    - POST
seo:
  description: >-
    Available on: Meta. Reference for the POST
    /mutations/{advertiserId}/creatives endpoint in the AdCrunch API.
sidebar:
  label: Create a creative
  badge: POST
title: Create a creative
type: openapi-operation
---
**Available on:** [![Meta](/providers/meta.svg)](https://docs.adcrunch.dev/connect/providers)

Creates a creative. The body holds the fields of the new creative.

It starts a Mutation of the kind `meta_create_creative`, the same change that `POST /mutations` starts with that kind. The MCP tool of the same name makes the same change.

The change does **not** happen during this request. The answer is `202`, and `Location` names the Mutation. Poll `GET /mutations/{id}` until it reports `complete` or `errored`. A Mutation is durable, so the id stays valid across retries and restarts.

A refused request starts nothing. AdCrunch refuses a body that does not match, an advertiser that is not yours, an advertiser with no usable connection, and an advertiser connected without write access before a Mutation exists. So a failed call leaves no row in the history.

**This operation checks the credential first and the body second.** A missing or unusable credential answers `401` even when the body is wrong as well.

`POST /mutations/{advertiserId}/creatives`

**Request body** (`application/json`, required)

- `assetId` (string, required) — The AdCrunch Asset to build the creative from, as the ast\_ id that Asset registration returned. The Asset must already be registered to this advertiser. Do not send a Meta image hash or video id. Whether the creative becomes an image or a video follows from the Asset.
- `callToAction` (string, required) — The label on the button, for example SHOP\_NOW.
- `description` (string) — The text below the headline. Meta can truncate it.
- `headline` (string, required) — The short bold line next to the button.
- `link` (string<uri>, required) — The page the ad opens when somebody clicks it.
- `message` (string, required) — The main body text, shown above the media.
- `name` (string, required) — The creative name. It is visible in Meta Ads Manager, and it is not shown to a person who sees the ad.
- `pageId` (string, required) — The Facebook Page the ad is published from. AdCrunch can list the Pages this ad account can publish from.

Request body example:

```json
{
  "assetId": "ast_k3x9q2v7m4n8p1r5t6w0y2z4",
  "callToAction": "SHOP_NOW",
  "headline": "Spring sale: 20% off",
  "link": "https://www.example.com/spring-sale",
  "message": "New colours for spring, while stock lasts.",
  "name": "Spring sale - Video 1",
  "pageId": "104560000000000"
}
```

**Responses**

- `202` — The Mutation started, and it has not ended. The body is the answer of \`GET /mutations/{id}\`, with \`status\` of \`running\`. Poll the path in \`Location\` for the outcome.
- `400` — The request does not match the schema of this operation: a field is missing or has the wrong type, or the body is not valid JSON. \`error\` is \`invalid\_request\`, and \`issues\` names each field. Nothing was changed.
- `401` — No API key, or one that does not resolve. See the security scheme. \`error\` is \`unauthorized\`.
- `402` — The organization has no active subscription. An owner subscribes at \`paywallUrl\`. \`error\` is \`organization\_unentitled\`.
- `403` — The caller does not hold \`mutation:write\`, or the advertiser is connected without write access. In the second case \`error\` is \`missing\_write\_access\` and \`message\` says how to fix it. AdCrunch started nothing.
- `404` — The advertiser does not exist, it belongs to another organization, or it is not a Meta ad account. \`error\` is \`not\_found\` in each case. An advertiser that does not exist and an advertiser of another organization get the same answer on purpose, so a caller cannot learn which ids exist. AdCrunch started nothing.
- `409` — The advertiser has no usable connection: a person removed it, it expired, or the provider refused it. A person must connect it again. \`error\` is \`provider\_not\_connected\`, the code that a live read of Observe sends for the same failure. AdCrunch started nothing.

Response example, 202:

```json
{
  "mutationId": "mut_k3x9q2v7m4n8p1r5t6w0y2z4",
  "status": "running"
}
```
