WhatsApp POC

Meta WhatsApp Cloud API proof of concept

Responses

These are Meta API send responses and webhook callbacks received from WhatsApp.

Send API responses

TimeRecipientHTTPResultResponse
2026-09-30 04:29:22 94776200789 200 Success
{
    "messaging_product": "whatsapp",
    "contacts": [
        {
            "input": "94776200789",
            "wa_id": "94776200789"
        }
    ],
    "messages": [
        {
            "id": "wamid.HBgLOTQ3NzYyMDA3ODkVAgARGBI2MTFCNkYxNzYwMUU5N0E4RTEA"
        }
    ]
}
2026-09-30 04:24:00 94776200789 200 Success
{
    "messaging_product": "whatsapp",
    "contacts": [
        {
            "input": "94776200789",
            "wa_id": "94776200789"
        }
    ],
    "messages": [
        {
            "id": "wamid.HBgLOTQ3NzYyMDA3ODkVAgARGBIzQTIwNkQ5NDMyMkRGMDk3RTMA"
        }
    ]
}
2026-09-30 04:21:56 94776200789 200 Success
{
    "messaging_product": "whatsapp",
    "contacts": [
        {
            "input": "94776200789",
            "wa_id": "94776200789"
        }
    ],
    "messages": [
        {
            "id": "wamid.HBgLOTQ3NzYyMDA3ODkVAgARGBIzMkY3RDY0QkY5MTAzQUJDM0UA"
        }
    ]
}
2026-09-30 04:12:06 94773951130 400 Failed
(#131030) Recipient phone number not in allowed list
{
    "error": {
        "message": "(#131030) Recipient phone number not in allowed list",
        "code": 131030,
        "type": "OAuthException",
        "error_data": {
            "messaging_product": "whatsapp",
            "details": "Recipient phone number not in allowed list: Add recipient phone number to recipient list and try again."
        },
        "fbtrace_id": "AyVcPWiVVmAgIEjnzgy1NnL"
    }
}
2026-09-30 04:05:48 94777378080 200 Success
{
    "messaging_product": "whatsapp",
    "contacts": [
        {
            "input": "94777378080",
            "wa_id": "94777378080"
        }
    ],
    "messages": [
        {
            "id": "wamid.HBgLOTQ3NzczNzgwODAVAgARGBJBNDk4MTc5MTgyQ0NCNUQxNkEA"
        }
    ]
}
2026-09-30 03:34:49 94777378080 200 Success
{
    "messaging_product": "whatsapp",
    "contacts": [
        {
            "input": "94777378080",
            "wa_id": "94777378080"
        }
    ],
    "messages": [
        {
            "id": "wamid.HBgLOTQ3NzczNzgwODAVAgARGBIyODg4NTczNzg1NzkyRUY4NUIA"
        }
    ]
}

Webhook callbacks

These are raw POST callbacks received at webhook.php, including inbound messages and delivery/read status updates.

message #1
2026-09-30 03:58:02
Message ID
wamid.remote.codexcheck
Processed
2026-09-30 03:58:02
Error
None
{
    "object": "whatsapp_business_account",
    "entry": [
        {
            "changes": [
                {
                    "value": {
                        "messages": [
                            {
                                "from": "94770000000",
                                "id": "wamid.remote.codexcheck",
                                "timestamp": "1790759000",
                                "type": "text",
                                "text": {
                                    "body": "codex remote webhook check"
                                }
                            }
                        ]
                    }
                }
            ]
        }
    ]
}