Agent/Get Sendable Templates
GET /v1/agent/templates

Get Sendable Templates

The templates the composer can send, scoped to a connector (business number). Name the connector directly with `connector_id`, or pass `conversation_id` and core resolves it from the conversation's business number. Exactly one is required (`connector_id` wins if both are given); a `422` is returned when neither is present. A connector with no templates returns an empty list.

Base URL https://api.{cluster}.{platform}.voiger.io
Request · cURL
curl https://api.{cluster}.{platform}.voiger.io/v1/agent/templates?connector_id=&conversation_id= \
  -H "Cookie: sid=$VOIGER_SESSION" \
  -H "x-workspace-code: your-workspace-code"

Parameters

x-workspace-code string required in header
connector_id string optional in query
The connector (business number) to list templates for.
conversation_id string optional in query
Resolve the connector from this conversation's business number.
_limit number optional in query
_skip number optional in query
_sort string optional in query

Response

templates▾
array
id
string
connector_id
string
channel
string
name
string
language
string
category
string | null
status
string | null
components
array
variables▾
array
key
string
name
string
updated_at
string