Skip to main content

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-TypeValue
Content-Typeapplication/json

Body (raw)​

{
"userId": "<string>",
"message": "<string>"
}

🔑 Authentication bearer​

ParamvalueType
tokenbearerTokenstring

Response: 201​

LANGUAGE

AUTHORIZATION

Bearer

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!