v1

latestOpenAPI 3.0.1MIT2026-07-263151,3912.3 MB
Management

List Campaign Templates

Lists all campaign templates available in the project.

👍 List Campaign Templates

This endpoint works in the same way as the List Campaign Templates endpoint.

📘 Campaign Templates – Documentation

Read the Campaign Templates documentation to learn more about this feature.

get/management/v1/projects/{projectId}/templates/campaigns

Query parameters

limitinteger

Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.

starting_after_idstring

A cursor for pagination. It retrieves the campaign templates created after a template with the given ID.

order'id' | '-id'

Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.

include_totalboolean

If set to true, the response returns the number of all campaign templates, regardless of the applied filters or limits. Set to false by default.

junction'and' | 'or'

Logical Operator Between Filters. Filter by conditions set on the junction parameter indicating how the conditions should be accounted for in the query. An AND is an all-inclusive logical operator, meaning the AND operator displays a record if ALL the conditions separated by AND are TRUE, while an OR operator displays a record if ANY of the conditions separated by OR is TRUE.

Filters for listing templates.

Response

Returns a dictionary of campaign template objects. The templates are returned by creation date by default. The most recent objects appear last unless specified otherwise with the order parameter.

object'list' required

The type of the object represented by JSON. This object stores information about campaign templates.

data_ref'data' required

Identifies the name of the JSON property that contains the array of campaign templates.

totalinteger

Total number of templates, regardless of the applied query parameters. Displayed only if the include_total query paremeter is set to true.

has_moreboolean required

As query results are always limited (by the limit parameter), the has_more flag indicates if there are more records for given filter parameters. This lets you know if you can run another request to get more records returned in the results.

more_starting_afterstring

Returns an ID that can be used to return another page of results. Use the template ID in the starting_after_id query parameter to display another page of the results starting after the template with that ID.

Example response

{
  "data": [
    {
      "id": "camp_tpl_eR9NsNJ5gqJRN2TG3fqCvbVl",
      "created_at": "2024-07-16T09:05:53.175Z",
      "updated_at": "2024-07-17T06:25:21.500Z"
    }
  ]
}