# POST /meta-ads/pixels

**Resource:** [META_ADS](./meta-ads.md)  
**MCP tool:** `create_meta_pixel`  
**Scopes:** `meta-ads:write`  
**Write operation:** yes

Create a Meta pixel in one of this workspace's connected ad accounts (ad_account_id from list_meta_pixels). Name it after the website it goes on. Returns the new pixel's id and install_code to paste into the website's <head>. Check list_meta_pixels first: one pixel per website is usual, and Meta limits how many pixels an ad account can have.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `ad_account_id` | body | string | yes | Ad account to create the pixel in, from list_meta_pixels accounts (numbers only, no act_ prefix) |
| `name` | body | string | yes | Pixel name, usually the website it goes on, like "trustpager.com" |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/meta-ads/pixels"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"ad_account_id":"...","name":"...","require_approval":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`