Send an SMS to a user
POST /api/v1/users/sms
Description
Send an SMS to a user.
Headers:
- Content-Type: application/json
- Authorization:
Bearer {{bearerToken}}
URL: /api/v1/users/sms
Response: The response is "Created" with a code of 201.
/api/v1/users/sms
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Body (raw)
{
"userId": "<string>",
"message": "<string>"
}
🔑 Authentication bearer
| Param | value | Type |
|---|---|---|
| token | bearerToken | string |
Response: 201
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v1/users/sms \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!