GenPages

Get the list of campaigns.

This endpoint is used to get the list of campaigns.

get/api/external/v1/campaigns/get-list

Query parameters

workspace_idinteger required

The workspace to list campaigns for.

Example:55

The workspace to list campaigns for.

Response

object[] required

Example response

[
  {
    "id": 1,
    "name": "Test Campaign 1",
    "slug": "test-campaign-1"
  },
  {
    "id": 2,
    "name": "Saas Outreach",
    "slug": "saas-outreach"
  }
]

Changes

Changed in 1 of the 3 revisions of this API.313

  • dd3f47f72f7a313See the full diff
    • added the new required query request parameter workspace_id

      new-required-request-parameter

    • removed the request body

      request-body-removed

    • the response's body type/format changed from object/ to array/ for status 200

      response-body-type-changed

    • removed the optional property campaigns from the response with the 200 status

      response-optional-property-removed

    • api tag GenPages added

      api-tag-added

    • api tag Campaigns removed

      api-tag-removed

    • added the non-success response with the status 403

      response-non-success-status-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog