All help articles

Developer Platform

Implement WhatsApp phone verification

Test the start-and-check journey before enabling live verification requests.

Updated 7 November 2026

Use Qcom's verification API to send a one-time code through WhatsApp and check the code submitted by the person using your application.

Before you begin

  • Choose the correct workspace in Developer Platform and confirm your access and workspace eligibility.
  • Create a test API key with the supported verify:send permission under API keys. Both start and check require this permission.
  • Keep your key on your server. Send it in the X-API-Key header, never in a URL or client-side application.
  • Open the verification API reference (Sign in to Qcom, then open this area from your app navigation.) for the deployed base URL, request fields and examples in cURL, Node.js, Python or PHP. The examples contain placeholder keys, not working credentials.

Make the requests

  1. Use a sk_test_ key and submit a phone in E.164 format to /v1/verify/start. The supported channel is whatsapp.
  2. Retain the returned verification_id, check that livemode is false and use expires_in_seconds to show an appropriate expiry in your application.
  3. Submit the same verification identifier with code 000000 to /v1/verify/check. This fixed code is for the sandbox only; no WhatsApp message is sent and no live verification charge is made.
  4. Confirm the check response is approved before your application continues.
  5. Start another test verification and submit an incorrect code. Handle pending and any remaining-attempt count without unlocking the protected action.
  6. Test expiry and too many incorrect attempts. Ask the person to start a new verification rather than retrying an unusable challenge indefinitely.

Understand the response

Complete your application's verification step only when the check response has status: approved. A successful HTTP response alone is not approval: an incorrect code can return status: pending.

Phone verification confirms control of the phone for this challenge. It does not grant access to a customer's accounts, statements or other business information. A sandbox pass also does not prove that live WhatsApp delivery, funding or sender setup is ready.

Tell people what the verification is for

Before requesting a Live code, your application must explain that the phone number will be used to send a one-time verification message through Qcom and WhatsApp. State the action the code protects and what will happen after a successful check. Do not present phone verification as consent to marketing, access to a customer account or permission to disclose protected information.

Collect and retain any notice or consent evidence required by your organisation and applicable law. Qcom's API receipt proves the verification operation it processed; it does not replace your application's customer notice, lawful basis or account-authorisation record.

Do not place a phone number, verification code or API key in an idempotency key, URL, application log or analytics property. Store only the verification identifier and result your application needs for the protected action.

Handle errors and retries

POST /v1/verify/start requires Idempotency-Key. Keep one key with the exact request. If the result is uncertain, retry with that key: a completed replay returns the original result and changed request facts return 409. A request still in progress returns 409 with Retry-After. If coordination is unavailable, Qcom returns 503 with Retry-After and does not start the operation.

The header is optional but recommended for /v1/verify/check; use a new key for a different code. These controls do not prove an external provider acted exactly once. Keep your operation state and reconcile an unknown provider outcome before starting another operation. See Verification troubleshooting for recovery steps.

For access, pending codes, expired challenges, funding and temporary failures, read Verification troubleshooting (Sign in to Qcom, then open this area from your app navigation.). Never show raw provider diagnostics or record full keys and codes in logs.

Verify before using live verification

Use live credentials only after Qcom Admin enables live verification for the workspace and the sender, daily limit and funding requirements are ready. Live codes are delivered through WhatsApp and are not returned by the API. Never accept the sandbox code as a production bypass.

Live Verify currently sends from Qcom's dedicated WhatsApp verification number and its approved Authentication template. Your application supplies the recipient and code request; it does not choose the sender or template. A workspace's own connected Meta number is not an available Live Verify sender yet.

Qcom Admin must approve the workspace's Live access and the source IPs allowed to use each Live Verify key. Requests from any other source are refused even when the key is otherwise valid.

Keep the customer's verification result separate from notification delivery evidence. Check the verification response before granting the application's protected action.

Create a new Live key after approval and move it into your server's secret storage. Live keys expire within 90 days. Rotate them before expiry; the previous key may remain usable for no more than 24 hours while you deploy the replacement. If Qcom turns live verification off, active Live keys are revoked and will not be restored by a later approval.

Before release, repeat the full start-and-check journey with an authorised live setup. Confirm the final verification state in your application and keep it separate from message-delivery evidence.

Retention and deletion

Qcom retains verification attempts, daily usage evidence and expired or revoked Developer credentials under an approved retention policy. Cleanup does not run without an active policy and future review date. It stops while a workspace legal hold or unresolved support case applies, deletes only terminal verification attempts, and records a destruction receipt for each completed batch.

A deletion request is reviewed before any data is removed. It does not override required security, billing, dispute or legal evidence. If a person asks to delete data held by your application, follow your own deletion process as well; deleting Qcom evidence does not delete your copy, and deleting your copy does not delete Qcom evidence.

Was this article helpful?

Implement WhatsApp phone verification — Qcom Help