Campaigns
Get campaign by id
get/v1/campaigns/:id
Request
- Base URL: https://api.dayschedule.com/v1
- URL: https://api.dayschedule.com/v1/v1/campaigns/:id
- Auth: none declared
Path parameters
idnumber required
Response
OK
Example response
{
"campaign_id": 123,
"account_id": 456,
"user_id": 789,
"name": "Newsletter Campaign",
"description": "Monthly newsletter campaign",
"type": "email",
"contacts": {
"type": "all",
"selected": [
1,
2,
3
]
},
"message_type": "regular",
"messages": [
{
"body": "Hello, this is a test email.",
"subject": "Test Email"
}
],
"connection_id": 321,
"schedule": {
"date": "1970-01-01T00:00:00.000Z"
},
"last_run_at": "1970-01-01T00:00:00.000Z",
"next_run_at": "1970-01-01T00:00:00.000Z",
"is_enabled": true,
"status": "scheduled",
"sent": 100,
"open": 50,
"click": 10,
"options": {
"hours": {
"start": "09:00",
"end": "17:00"
}
},
"updated_at": "1970-01-01T00:00:00.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.