---
title: "Get actions with keys for campaign"
type: reference
method: GET
path: /rest-api/campaign/{campaignId}/actions.do
tag: "Actions"
---

# Get actions with keys for campaign

`GET https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/actions.do`

Returns all conversion actions accessible to the authenticated user for the specified campaign. Each action carries its own 'key' (the conversion action key the Postback URL uses; the same for every campaign) and a 'pixelKey' computed from the advertiser ID, campaign ID and action ID, which only the pixel tracking code needs. The campaign must exist and have actions enabled (enableActions=true); otherwise a 400 error is returned. Requires authentication.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `campaignId` | integer | yes | `2001` | The numeric ID of the campaign whose actions to retrieve. The campaign must have actions enabled. |

## Responses

- `200` — JSON array of action objects, each with key, pixelKey, name, and conversion time frame settings
- `400` — Actions are disabled for this campaign
- `401` — Authentication error
- `403` — Not enough permissions to access this campaign
- `404` — No such campaign

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/campaign/2001/actions.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/actions/get-campaign-actions