v1

latestOpenAPI 3.1.02026-07-26430119.9 KB

Get all sections of a campaign

get/accounts/{account_id}/campaigns/{campaign_id}/sections

Path parameters

account_idstring required

Use 'current' keyword to refer to the Main Workspace or the Integer Workspace Id

campaign_idinteger required

Campaign Id

Response

200

Example response

{
  "_data": [
    {
      "id": 1,
      "name": "Baja Baja",
      "cssSelector": "DIV#js-header-fixed-trigger + SECTION > DIV:first-child > DIV:first-child > DIV:first-child",
      "variations": [
        {
          "id": 1,
          "name": "Control",
          "isControl": true,
          "heatmapThumbUrl": "<url>",
          "screenshots": {
            "quick": "<url>"
          }
        }
      ]
    }
  ]
}