Visit www.talkable.com

Campaigns

This API allows you to access campaigns.


GET /campaigns

Returns campaigns.

Parameter Description
site_slug Your Talkable Site ID. You can get this from your Talkable dashboard after you log in and create a site.

Example

GET https://www.talkable.com/api/v2/campaigns?site_slug=my-store&api_key=i9uil7nQgDjucCiTJu

Sample response:

{
  "ok": true,
  "result": {
    "campaigns": [
      {
        "id": 35944,
        "name": "API campaign",
        "tag_names": ["api"],
        "slug": "35944-api-campaign",
        "type": "Standalone Campaign",
        "is_active": true
      },
      {
        "id": 34601,
        "name": "PP campaign",
        "tag_names": ["default"],
        "slug": "34601-pp-campaign",
        "type": "Post-Checkout Campaign",
        "is_active": true
      },
      {
        "id": 34376,
        "name": "Inactive campaign",
        "tag_names": ["default"],
        "slug": "34376",
        "type": "Standalone Campaign",
        "is_active": false
      }
    ]
  }
}