SMS User

Create

Create a new SMS User record.

post/api/cp/sms-user

Request body

idinteger

Id

company_idinteger

Company Id (references company.id)

usernamestring

Username (unique)

hashstring

Hash

protocolstring[]

Protocol

Example request

{
  "id": 12345,
  "company_id": 1,
  "username": "john_doe",
  "hash": "example_hash",
  "protocol": "http"
}

Response

Successful response

statusstring

Operation status

Example response

{
  "id": 12345,
  "status": "OK"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.