Campaign API

Get Json Templates

Endpoint to get JSON templates.

get/public/v1/campaign-service/json-templates

Request

  • Base URL: https://api.topsort.com
  • URL: https://api.topsort.com/public/v1/campaign-service/json-templates
  • Auth: HTTP bearer

Query parameters

limitinteger

The pagination limit.

next_pagestring nullable

A token provided in a previous response. If not empty, it is used to retrieve the page that follows.

searchstring nullable

Search query to filter the templates.

include_archivedboolean nullable

Whether to include archived templates.

Response

Successful Response

hasMoreboolean required

Flag that indicates whether more results are available. true indicates there is a next page of results. false indicates this response contains the last page of results.

nextPagestring nullable

Pagination cursor. Provide this value as a next_page query parameter in a new request to retrieve the next page of results.

Example response

{
  "nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo="
}

Changes

No recorded changes to this operation across all 1 revision of this API.