Pular para o conteúdo

GET /v1/conversations/{id}/default-template

GET
/v1/conversations/{id}/default-template
curl --request GET \
--url https://seu-endereco-da-api/v1/conversations/example/default-template \
--header 'Authorization: Bearer <token>'

Permissão que a Chave de acesso precisa: Enviar mensagem e atender (conversations:write).

id
required
string
Media typeapplication/json
object
defaultTemplate
required
object
name
required
string
remaining
required

Characters left for the agent text in the 1024-character body, after the other variables of this conversation

number
missing
required

Labels of the variables with no value for this contact; sending is refused while any is missing

Array<string>
attachmentTemplates
required

The channel’s attachment slots that are ready for this conversation; an attachment with no matching header is refused

Array<object>
object
name
required
string
remaining
required

Characters left for the agent text in the 1024-character body, after the other variables of this conversation

number
missing
required

Labels of the variables with no value for this contact; sending is refused while any is missing

Array<string>
headerFormat
required

Header the attachment fills

string
Allowed values: IMAGE VIDEO DOCUMENT
acceptedMimes
required

Attachment types this header takes; any other type is refused with attachment_not_for_template

Array<string>
maxBytes
required

Largest attachment, in bytes, this header takes; a larger one is refused with attachment_too_large_for_template

number

Example

{
"attachmentTemplates": [
{
"headerFormat": "IMAGE"
}
]
}