POST /v1/conversations/{id}/notes
const url = 'https://seu-endereco-da-api/v1/conversations/example/notes';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"text":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://seu-endereco-da-api/v1/conversations/example/notes \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text": "example" }'Permissão que a Chave de acesso precisa: Ler conversas (conversations:read).
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”Request Bodyrequired
Seção intitulada “Request Bodyrequired”object
Example generated
{ "text": "example"}Responses
Seção intitulada “Responses”object
object
object
object
The group member who sent it; null for a private conversation or for a message we sent
The group member who sent it; null for a private conversation or for a message we sent
The group members tagged in the text: each @token in the text is shown as @name; a token with no known member is left as written
object
The digits after @ in the text: the member’s lid or phone
The saved contact name, else the member’s WhatsApp name, else the phone
The channel this message came in or went out through; it can differ from the conversation’s current channel
Still filled in for a channel that was already removed
The channel runs in coexistence with the WhatsApp Business app
The contact identifier this message came in from or went out to; null for a group or for an older message
object
object
object
Formulário enviado (type flow): body, cta e formName
object
The title the provider gave when it refused the message
The charge a payment message asks the contact to pay
Only on a payment message: the template kind and the charge as it is now (status, value, instruments)
object
What the audio says; only for audio messages
Only present for a group conversation
object
Only present for a group conversation
object
Only present for a poll message that has at least one vote
object
Example
{ "source": "manual", "transcriptionStatus": "pending"}