Campaigns

Events that fire when a campaign is created or updated.

Events that fire when a campaign is created or updated.

Events

EventWhen it fires
campaign.createdA new campaign is created.
campaign.updatedA campaign is updated (status, audience, content, and similar fields).

Examples

Each example is the full POST body Whippy sends, including the envelope fields data, api_version, event, created_at, and request_id.

campaign.created

A new campaign is 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
  },
  "api_version": "v1",
  "event": "campaign.created",
  "created_at": "2025-08-19T06:40:57.416929Z",
  "request_id": "981385f6-b87c-5222-988b-412fcf406a17"
}

campaign.updated

A campaign is updated (status, audience, content, and similar fields).

{
  "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
  },
  "api_version": "v1",
  "event": "campaign.updated",
  "created_at": "2025-08-19T06:40:57.416929Z",
  "request_id": "d8ea5d2d-4bd9-5958-9624-037e683060c4"
}

Did this page help you?