> Documentation index: https://docs.zernio.com/llms.txt. Every page is also Markdown: add .md to its URL.

# Connect

Connect a Nextdoor pixel to a profile with its pixel ID and a Conversions API access token from Nextdoor Ads Manager, once Nextdoor has approved access.

The Nextdoor Conversions API takes an access token from Nextdoor Ads Manager and the pixel each event belongs to. You give Zernio both. The token is stored encrypted.

## Get access from Nextdoor first

Nextdoor opens its Conversions API to each advertiser separately:

1. Fill in the [Ads and Conversion API Request Form](https://forms.gle/bbCSGUEuvrfxj3U58).
2. Nextdoor reviews the request and replies to the contact email you gave. Approved access needs a Conversions API agreement, which Nextdoor signs per advertiser.

Until Nextdoor approves it, a token cannot send conversions.

## Get the token and pixel ID

1. In [Nextdoor Ads Manager](https://ads.nextdoor.com/v2/manage/api), go to **Business Settings**, then **Ads API**, and choose **Generate token**. Copy the token.
2. Go to **Assets**, then **Pixels**, and copy the ID of the pixel on your site.

## Connect with the token

Send both for a profile:

```bash
curl -X POST "https://zernio.com/api/v1/connect/nextdoor-ads/credentials" \
  -H "Authorization: Bearer $ZERNIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "profileId": "PROFILE_ID",
    "nextdoorPixelId": "5b0b9e9a-156a-11ee-be56-0242ac120002",
    "accessToken": "NEXTDOOR_CAPI_ACCESS_TOKEN"
  }'
```

```json
{ "accountId": "6507a1b2c3d4e5f6a7b8c9d0", "nextdoorPixelId": "5b0b9e9a-156a-11ee-be56-0242ac120002", "accountName": "Nextdoor pixel 5b0b9e9a-156a-11ee-be56-0242ac120002" }
```

| Field | Where to find it |
|-------|------------------|
| `nextdoorPixelId` | **Assets**, **Pixels** in Nextdoor Ads Manager. Required. |
| `accessToken` | **Business Settings**, **Ads API**, **Generate token** in Nextdoor Ads Manager. Required. |
| `name` | A display name for the connection, up to 100 characters. Optional. |

## How it behaves

- Nextdoor has no way to check a token without sending an event, so Zernio saves it without a check. If Nextdoor refuses it on your first events, the connection asks to be reconnected.
- The pixel ID becomes the connection's only destination. List it with `GET /v1/ads/conversions/destinations`.
- A profile holds one Nextdoor Ads connection. Connecting again with the same pixel ID replaces the token.
- Every call on this page is also a tool on the [Zernio MCP server](/mcp/tools).

## If it fails

| Error | Cause | Fix |
|-------|-------|-----|
| `400` on `nextdoorPixelId` | The ID is missing or malformed | Copy it from **Assets**, **Pixels** in Ads Manager. |
| `400` on `accessToken` | The token is missing | Generate one under **Business Settings**, **Ads API**. |
| `402` | The account cannot connect more accounts on its plan | Upgrade the plan or remove an account. |
| `403` | The Ads add-on is off | Turn on the Ads add-on, then connect. |
| `409` with `profile_platform_conflict` | The profile already has another Nextdoor Ads connection | Disconnect it first, or use another profile. |

## Related

- [Connect Nextdoor Ads conversions](/connect/connect-nextdoor-ads-credentials)
- [List conversion destinations](/conversions/list-ad-conversion-destinations)
- [Conversions](/platforms/nextdoor-ads/conversions)