latestOpenAPI 3.1.02026-08-18893023.3 MB

c78a716de420

WhatsApp Senders

Register sender for project

Triggers sender registration with the requested method. An OTP code will be sent over the requested method that will need to be used in the Verify sender endpoint.
post/v1/projects/{projectId}/whatsapp/senders/{senderId}/register

Path parameters

projectIdstring required

The unique ID of the project. You can find this on the <a href="https://dashboard.sinch.com/">Sinch Dashboard</a>.

senderIdstring required

The unique ID of the sender.

Request body

method'SMS' | 'VOICE' required

Registration Method of the sender.

Response

idstring required

The unique ID of the sender.

method'SMS' | 'VOICE' | 'UNRECOGNIZED' required

Registration Method of the sender.

acceptedstring required

The UTC Date Time in ISO 8601 for when the sender was accepted.

verificationCodeSentboolean required

Whether the verification code has been sent.