---
title: "Get campaign action by ID (deprecated)"
type: reference
method: GET
path: /rest-api/campaign/{campaignId}/action/id/{id}.do
tag: "Actions"
---

# Get campaign action by ID (deprecated)

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

DEPRECATED: Use GET /rest-api/action/id/{id} instead. Returns a single conversion action identified by its numeric ID within the context of a specific campaign. The campaignId is used to compute the action key included in the response (derived from advertiser ID + campaign ID + action ID). Returns 404 if no action exists with the given ID or it is deleted. Requires authentication.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `campaignId` | integer | yes | `2001` | The numeric ID of the campaign. Used to compute the action key in the response. |
| `id` | integer | yes | `301` | The numeric ID of the action to retrieve. |

## Responses

- `200` — Action object with key, id, name, and conversion time frame settings
- `400` — Bad request — invalid or missing parameters
- `401` — Authentication error
- `403` — Not enough permissions
- `404` — No action found with the given numeric ID

## Example request

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

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