Skip to main content

Get Campaign

Retrieve a single push campaign.

Endpoint

GET /push/campaigns/{id}

Returns: 200 OK

Path Parameters

ParameterTypeDescription
idstringCampaign ID

Headers

HeaderValueRequired
AuthorizationBearer <your-api-key>Yes

Response

Same shape as the Create Campaign response.

{
"id": "0192a1b2-c3d4-7e5f-9000-abcdef123456",
"name": "Flash sale — 6h only",
"title": "Doors close at midnight",
"body": "Everything 40% off for the next six hours.",
"status": "Sent",
"target_platforms": ["android", "ios"],
"throttle_minutes": 15,
"smart_sending_enabled": true,
"scheduled_at": null,
"sent_at": "2026-09-01T09:05:00.000Z",
"created_at": "2026-08-10T12:00:00.000Z",
"updated_at": "2026-09-01T09:05:00.000Z"
}

Examples

curl "https://api.arsel.sa/v1/push/campaigns/0192a1b2-c3d4-7e5f-9000-abcdef123456" \
-H "Authorization: Bearer be_your_api_key"

Error Responses

{
"status_code": 404,
"name": "not_found",
"message": "Campaign not found"
}