Whatsapp OTP
This API allows you to send a one-time password (OTP) via WhatsApp to a specified recipient.
Send Whatsapp OTP
POST
https://api.getspendo.com/gateway/api/v1/send/whatsapp/otp
Headers
Name | Type | Description |
---|---|---|
apiKey* | String | The API key that you get from spendo's dashboard. |
Request Body
Name | Type | Description |
---|---|---|
language* | String | Language e.g (ha, en) |
phoneNumber* | String | The phone number of the recipient, formatted as a string without any spaces or special characters. |
name | String | User's Full name |
otp | Integer | The OTP code that you want to send, represented as a string. This parameter is usually generated by your system or a third-party authentication provider. |
Good to know: You can use our API Method block to fully test all the API method.
Take a look at how you might call this method using our official libraries, or via curl
:
Last updated