Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
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.
1 <= x <= 100
A cursor for pagination. It retrieves the campaign templates created after a template with the given ID.
Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
id
, -id
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.
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.
Response body schema for GET /v1/templates/campaign
.
The type of the object represented by JSON. This object stores information about campaign templates.
list
Identifies the name of the JSON property that contains the array of campaign templates.
data
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.
Dictionary that contains an array of campaign templates.
Total number of templates, regardless of the applied query parameters. Displayed only if the include_total
query paremeter is set to true
.
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.