Skip to main content
GET
/
campaigns
/
{id}
Get campaign details
curl --request GET \
  --url https://api-message.nativehub.live/api/v1/campaigns/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "e1f2a3b4-c5d6-7890-ef12-345678901234",
  "tenant_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
  "account_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
  "name": "February Promotion",
  "template_id": "d0e1f2a3-b4c5-6789-de01-234567890123",
  "sender_id": "+8801912345678",
  "status": "running",
  "total_recipients": 5000,
  "sent_count": 3200,
  "failed_count": 15,
  "started_at": "2026-02-14T08:00:00Z",
  "created_at": "2026-02-13T15:30:00Z",
  "updated_at": "2026-02-14T10:00:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Campaign ID

Response

Campaign retrieved successfully

id
string<uuid>
tenant_id
string<uuid>
account_id
string<uuid>
name
string
template_id
string<uuid>
sender_id
string
status
enum<string>
Available options:
draft,
running,
paused,
completed,
cancelled
total_recipients
integer
sent_count
integer
failed_count
integer
started_at
string<date-time>
completed_at
string<date-time>
created_at
string<date-time>
updated_at
string<date-time>