GET /v1/projects/{id}/platforms/whatsapp-business/numbers/{resourceId}/verification-code
Returns the latest six-digit WhatsApp Business ownership code received by SMS for an active Photon VOIP number, but only when its provider timestamp is strictly newer than the required receivedAfter boundary. receivedAfter must be an RFC 3339 timestamp between this request’s arrival time and two minutes before it; once it expires, restart Meta’s verification flow with a new boundary. A missing newer code is a retryable 404 with Retry-After: 2. Poll after 2, 4, 8, then 10 seconds, applying ±20% jitter and capping later intervals at 10 seconds. Stop when the original boundary is two minutes old. Responses are never cached. Requires the platforms:write permission bound to the project resource in the path.
- TypeScript
- Python
- Rust
TypeScript
Parameters
string
required
string
required
string (date-time)
required
Returns
200 A verification code received strictly after receivedAfter. Treat it as an authentication secret. GetWhatsappBusinessVerificationCodeResponse
string
required
string (date-time)
required