v1

latestSwagger 2.02026-08-06114161439.7 KB
SMS Broadcast

Create new contacts

Create one or more contacts with the given phone numbers and optional names

post/contacts

Request body

group_idinteger required

Organization unit (group) ID the call/record belongs to. Integer. Used to scope data; see /group/list for available group IDs.

Example request

{
  "contacts": [
    {
      "contact_name": "John Doe",
      "phone_number": "1234567890",
      "country_code": "+1"
    }
  ]
}

Response

The result of the creation and contactIds for the newly added contacts.

resultstring required

Outcome of the request. String, typically 'success' or 'error'.

errstring required

Error message when result='error'. String. Empty/null on success.

datastring

Response payload. Shape varies by endpoint.