Skip to main content
GET
/
templates
List all templates
curl --request GET \
  --url https://{appId}.api-{region}.cometchat.io/v3/campaigns/templates \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'appid: <appid>'

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-docs-campaigns-service-rest-api.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Paginated. Combine category, status, search, and tags to narrow the result set. For the complete error reference, see Error Guide.

Authorizations

Authorization
string
header
required

Service-to-service basic auth

Headers

appid
string
required

Tenant application ID

Query Parameters

updatedAt
number

Cursor: updatedAt unix timestamp of last item

id
string

Cursor: id of last item

affix
enum<string>

Cursor direction

Available options:
append,
prepend
limit
number

Items per page

Required range: 1 <= x <= 100
sort
enum<string>

Sort field

Available options:
updatedAt,
createdAt,
name
order
enum<string>

Sort direction

Available options:
asc,
desc
status
string

Filter by template status

Search by name or templateId

tags
string

Comma-separated tags to filter by

tagMatch
enum<string>

Tag matching strategy: 'any' (OR) or 'all' (AND)

Available options:
any,
all
templateCategory
string

Filter by templateCategory name

Response

200

Templates list