Skip to content

Document specific WhatsApp send errors on Preview POST /messages - #812

Merged
csdinos merged 1 commit into
mainfrom
dinos/p6-preview-whatsapp-send-errors
Nov 13, 2026
Merged

csdinos merged 1 commit into
mainfrom
dinos/p6-preview-whatsapp-send-errors

Conversation

@csdinos

@csdinos csdinos commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Why?

On the Preview API version, POST /messages now returns a 400 naming why a WhatsApp send was refused, instead of a generic 500 "Failed to create WhatsApp conversation - no conversation returned". This documents those errors so integrators can handle them.

How?

Adds a Preview 400 example for each refused-send reason with the exact message the API returns. Released versions are unchanged.

Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@csdinos
csdinos marked this pull request as ready for review November 13, 2026 13:44
@csdinos
csdinos merged commit 3603253 into main Nov 13, 2026
4 checks passed
@csdinos
csdinos deleted the dinos/p6-preview-whatsapp-send-errors branch November 13, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants