What is the correct response to a Webhook URL?
Question
What is the correct response to a webhook URL?
Applies To
- Webhook URL
- 200 OK Response Code
Answer
Your application must always respond with HTTP 200 to DLRs and Inbound messages from Vonage. Add the following at the end of your PHP code: HTTP/1.0 200 OK.
Comments
1 comment
That should be:
header('HTTP/1.0 200 OK');
or
header('HTTP/1.1 200 OK');
rather than just
HTTP/1.0 200 OK
Please sign in to leave a comment.