chats
GET /chats/{id}/templates
const url = 'https://api.qwetty.com/api/v1/chats/example/templates?limit=20';const options = { method: 'GET', headers: {'Qwetty-Version': '2026-09-23', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.qwetty.com/api/v1/chats/example/templates?limit=20' \ --header 'Authorization: Bearer <token>' \ --header 'Qwetty-Version: 2026-09-23'Required grants: chats:view, templates:view. Resource visibility follows the key’s channel access.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”The response version. Defaults to the API key’s pinned version; echoed on every answer.
Query Parameters
Section titled “Query Parameters”Opaque cursor bound to the tenant, resource and filters.
Responses
Section titled “Responses”Success
The 2026-10-20 shape. Keys pinned to 2026-09-23 receive the earlier flat rows.
object
object
object
object
object
object
Example
{ "data": [ { "object": "template", "source": "meta" } ]}Error (see error.code). Rate rejection is 429; monthly quota is 403; unavailable admission is 503.
object
object
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }, "requestId": "example"}Error (see error.code). Rate rejection is 429; monthly quota is 403; unavailable admission is 503.
object
object
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }, "requestId": "example"}Error (see error.code). Rate rejection is 429; monthly quota is 403; unavailable admission is 503.
object
object
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }, "requestId": "example"}Error (see error.code). Rate rejection is 429; monthly quota is 403; unavailable admission is 503.
object
object
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }, "requestId": "example"}Error (see error.code). Rate rejection is 429; monthly quota is 403; unavailable admission is 503.
object
object
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }, "requestId": "example"}Error (see error.code). Rate rejection is 429; monthly quota is 403; unavailable admission is 503.
object
object
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }, "requestId": "example"}Error (see error.code). Rate rejection is 429; monthly quota is 403; unavailable admission is 503.
object
object
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }, "requestId": "example"}Error (see error.code). Rate rejection is 429; monthly quota is 403; unavailable admission is 503.
object
object
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }, "requestId": "example"}Error (see error.code). Rate rejection is 429; monthly quota is 403; unavailable admission is 503.
object
object
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }, "requestId": "example"}