For the complete documentation index, see llms.txt. This page is also available as Markdown.

Send an SMS to a contact or mobile number.

Required permissions: Send TXT Out

post
Path parameters
programmeIDstring · uuidRequired
Query parameters
apiTokenstringRequired

API authentication token

Body
mobileNumberstringOptional
referenceIDstringOptional
messagestringOptional
shortenLinksbooleanOptional
Responses
200

OK

application/json
messageIDstringOptional
post/txt/programmes/{programmeID}/sendtxt
POST /txt/programmes/{programmeID}/sendtxt?apiToken=text HTTP/1.1
Host: api.ubiquity.co.nz
Content-Type: application/json
Accept: */*
Content-Length: 81

{
  "mobileNumber": "text",
  "referenceID": "text",
  "message": "text",
  "shortenLinks": true
}
{
  "messageID": "text"
}

Last updated

Was this helpful?