Mobile carriers

Mobile carriers and their SMS gateway domains, used for text notifications.

The object#

FieldTypeDescription
idread-onlyintegerIdentifier.
carriernamestring(50)Name of the mobile carrier, shown when picking an SMS gateway.
smsgatewaydomainstring(50)Email-to-SMS gateway domain.

Endpoints#

GET/mobilecarriers 200403

List mobile carriers.

Requires scope reference:read.

Parameters
NameInTypeNotes
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
403insufficient_scopeToken lacks mobilecarriers:read.
curl \
  'https://acme.nolapro.com/!/api/v2/mobilecarriers' \
  -H 'Authorization: Bearer $NP_TOKEN'
GET/mobilecarriers/{id} 200404

Retrieve one record.

Requires scope reference:read.

Parameters
NameInTypeNotes
idrequiredpathintegerThe record id.
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
404not_foundNo record with that id.
curl \
  'https://acme.nolapro.com/!/api/v2/mobilecarriers/104' \
  -H 'Authorization: Bearer $NP_TOKEN'
Response 200
{
    "id": 1,
    "carriername": "Verizon",
    "smsgatewaydomain": "vtext.com"
}