curl --request POST \
--url http://127.0.0.1:3333/v3/integrations/whatsapp/{workspaceId}/whatsapp/{credentialsId}/webhook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entry": [
{
"changes": [
{
"value": {
"contacts": [
{
"profile": {
"name": "<string>"
}
}
],
"messages": [
{
"from": "<string>",
"timestamp": "<string>",
"type": "text",
"text": {
"body": "<string>"
},
"id": "<string>",
"referral": {
"ctwa_clid": "<string>",
"source_id": "<string>"
}
}
],
"statuses": [
{
"recipient_id": "<string>",
"errors": [
{
"code": 123,
"title": "<string>",
"error_data": {
"details": "<string>"
}
}
]
}
]
}
}
]
}
]
}
'{
"message": "<string>"
}Receive WhatsApp Message.
curl --request POST \
--url http://127.0.0.1:3333/v3/integrations/whatsapp/{workspaceId}/whatsapp/{credentialsId}/webhook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entry": [
{
"changes": [
{
"value": {
"contacts": [
{
"profile": {
"name": "<string>"
}
}
],
"messages": [
{
"from": "<string>",
"timestamp": "<string>",
"type": "text",
"text": {
"body": "<string>"
},
"id": "<string>",
"referral": {
"ctwa_clid": "<string>",
"source_id": "<string>"
}
}
],
"statuses": [
{
"recipient_id": "<string>",
"errors": [
{
"code": 123,
"title": "<string>",
"error_data": {
"details": "<string>"
}
}
]
}
]
}
}
]
}
]
}
'{
"message": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Default Response