sms
List SMS opt-outs
The recipients who opted out of SMS (replied STOP) across your numbers,
most recent first. Compliance surface: you must be able to see and
export your opt-out list. Read-only: a recipient is re-subscribed only
by replying START. Pass format=csv to download a CSV instead of JSON.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
format?string
Default
"json"Value in
"json" | "csv"limit?integer
Default
500Range
1 <= value <= 5000Response Body
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.sms.listSmsOptOuts();console.log(data);{
"optOuts": [
{
"phoneNumber": "string",
"optedOutAt": "2019-08-24T14:15:22Z",
"keyword": "string",
"from": "string"
}
],
"count": 0
}{
"error": "Unauthorized"
}Blind-transfer a live call POST
Moves the call's current leg to a new destination (a phone number or a SIP endpoint). This is a BLIND transfer: control of the leg is handed off and the call ends normally when the transferred leg hangs up. The caller ID presented on the transfer leg is always your own number.
List carrier registrations GET
Next Page