---
title: "Enable site piggybacks"
type: reference
method: POST
path: /rest-api/piggyback/site/enable.do
tag: "Piggybacks"
---

# Enable site piggybacks

`POST https://YOUR-NETWORK-DOMAIN/rest-api/piggyback/site/enable.do`

Enables all piggyback tracking pixels associated with the specified site so they begin firing during ad serving. This is a bulk operation that sets the piggyback status to ENABLED for every piggyback attached to the site. The caller must have update permissions on the site. Returns a JSON object with a 'success' boolean.

## Form params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `id` | integer | yes | `3001` | The unique numeric identifier of the site whose piggyback pixels should be enabled |

## Responses

- `200` — Site piggybacks enabled successfully
- `400` — Bad request - id is missing
- `401` — Unauthorized - authentication error
- `403` — Forbidden - no update rights on the site, or the Piggyback Pixel Tracking permission is not enabled
- `500` — Internal server error

## Example request

```bash
curl --request POST \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/piggyback/site/enable.do' \
  --header 'X-Api-Key: YOUR_API_KEY' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'id=3001'
```

Source: https://epom.com/ad-server/docs/api/piggybacks/post-piggyback-site-enable