Retrieve a single campaign.
Response format | JSON |
---|---|
Requires authentication? | Yes |
curl -X GET \
-u '[SID]:[TOKEN]' \
'https://api.essential.to/v2/account/campaigns/GNeqmVGQmWay8DDypTdgVg'
# Sample response
{
"name": "Test Campaign",
"external_ref_id": "",
"send_at": null,
"status": "unscheduled",
"body": "Message to be sent",
"media_urls": [
""
],
"created_at": "2016-12-01T03:20:00.000Z",
"updated_at": "2016-12-01T03:30:00.000Z",
"sid": "GNeqmVGQmWay8DDypTdgVg",
"account_sid": "XsbrYCSo2m0sShMLOlZqtw",
"channel_sid": "sRhvpNDGZwyDeH-YRZIr9A",
"tag_expression": {
"tag_sids": null,
"left": null,
"operator": "UNION",
"right": null
},
"send_to_inboxed": true,
"results": [
]
}
Python coming soon.
Node coming soon.