Automations

Get an automation

Changed on

Returns metadata for an individual automation.

get/v1/campaigns/{campaign_id}

Request

  • Base URL
    https://api.customer.io
  • URL
    https://api.customer.io/v1/campaigns/{campaign_id}
  • Auth
    HTTP bearer

Response

Returns metadata for the automation.

Example response

{
  "campaign": {
    "id": 5,
    "deduplicate_id": "15:1492548073",
    "description": "Sends a welcome series to new trial signups.",
    "created": 1552341937,
    "updated": 1552341937,
    "actions": [
      {
        "type": "email",
        "id": 259
      }
    ],
    "first_started": 1552341937,
    "tags": [
      "new",
      "welcome"
    ],
    "trigger_segment_ids": [
      90
    ],
    "filter_segment_ids": [
      21,
      42
    ]
  }
}

Changes