Campaigns

Events that occur when a new campaign is created or the campaign object is updated.

campaign.created

{
  "data": {
    "id": "44c0f2d4-6085-440f-b5c2-bedf0ccf33b6",
    "body": null,
    "title": "Whippy Campaign",
    "status": "draft",
    "created_at": "2023-09-26T15:54:48.951970Z",
    "updated_at": "2023-09-26T15:54:48.951970Z",
    "attachments": [],
    "schedule_at": null
  },
  "event": "campaign.created",
  "request_id": "d12a349e-c530-4175-8a90-65c8ed284243"
}

campaign.updated

{
  "data": {
    "id": "44c0f2d4-6085-440f-b5c2-bedf0ccf33b6",
    "body": "Cool campaign sent from Whippy!",
    "title": "Whippy Campaign",
    "status": "draft",
    "created_at": "2023-09-26T15:54:48.951970Z",
    "updated_at": "2023-09-26T15:54:54.483551Z",
    "attachments": [],
    "schedule_at": null
  },
  "event": "campaign.updated",
  "request_id": "87218144-cbd2-4c0c-b9dc-b84f3ddc8c10"
}