Skip to main content
GET
/
api
/
v1
/
campaigns
/
{campaignId}
curl "https://api.usegately.com/api/v1/campaigns/CAMPAIGN_ID" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "X-Project-ID: YOUR_PROJECT_ID"
{
  "id": "a1b2c3d4-e5f6-4789-abcd-ef1234567890",
  "project_id": "proj-uuid-here",
  "name": "Product Launch",
  "subject": "Introducing our new feature!",
  "content": "<h1>Hello!</h1><p>Check out what we built.</p>",
  "html_content": "<h1>Hello!</h1><p>Check out what we built.</p>",
  "status": "sent",
  "total_recipients": 842,
  "delivered_count": 835,
  "recipient_filter": {
    "type": "mixed",
    "emails": [],
    "list_ids": ["list-uuid"],
    "segment_ids": [],
    "all_contacts": false
  },
  "scheduled_at": null,
  "sent_at": "2025-06-01T10:00:00.000Z",
  "created_at": "2025-05-30T14:22:00.000Z",
  "updated_at": "2025-06-01T10:04:11.000Z"
}

Headers

Authorization
string
required
Bearer YOUR_API_KEY
X-Project-ID
string
Your project UUID. Not required if the API key already encodes the project.

Path Parameters

campaignId
string
required
Campaign UUID

Response

Returns the full campaign object. See List Campaigns for field descriptions.
curl "https://api.usegately.com/api/v1/campaigns/CAMPAIGN_ID" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "X-Project-ID: YOUR_PROJECT_ID"
{
  "id": "a1b2c3d4-e5f6-4789-abcd-ef1234567890",
  "project_id": "proj-uuid-here",
  "name": "Product Launch",
  "subject": "Introducing our new feature!",
  "content": "<h1>Hello!</h1><p>Check out what we built.</p>",
  "html_content": "<h1>Hello!</h1><p>Check out what we built.</p>",
  "status": "sent",
  "total_recipients": 842,
  "delivered_count": 835,
  "recipient_filter": {
    "type": "mixed",
    "emails": [],
    "list_ids": ["list-uuid"],
    "segment_ids": [],
    "all_contacts": false
  },
  "scheduled_at": null,
  "sent_at": "2025-06-01T10:00:00.000Z",
  "created_at": "2025-05-30T14:22:00.000Z",
  "updated_at": "2025-06-01T10:04:11.000Z"
}