GET /api/template-channels?templateId=xxx
Returns all template-channel records for a given template. Each record contains the per-channel content that gets delivered through that channel.
Headers
Your CometChat App ID.
Your CometChat API Key.
Query parameters
The template ID to list channels for.
Example request
Example response
Response fields
The parent template ID.
The linked channel ID.
Channel type:
in_app, push, sms, email, whatsapp, or custom.The per-channel content object. Structure varies by channel type.
ISO 8601 creation timestamp.
ISO 8601 last update timestamp.