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