Skip to main content
GET
/
integrations
/
external
/
chats
/
{id}
/
templates
Listar templates do chat
curl --request GET \
  --url https://api.wegly.com.br/integrations/external/chats/{id}/templates \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {}
  ],
  "paging": {
    "cursors": {
      "before": "<string>",
      "after": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Utilize o token de integração no header Authorization: Bearer {token}. O domínio de origem (Origin/Referer) deve respeitar allowed_domain, quando configurado na chave.

Path Parameters

id
string<uuid>
required

UUID do chat.

Query Parameters

category
enum<string>

Categoria do template WhatsApp.

Available options:
AUTHENTICATION,
MARKETING,
UTILITY,
SERVICE

Response

Templates disponíveis.

data
object[]
paging
object