Enable SMS on a number
Turns on SMS for one of your numbers. Idempotent: re-running re-attempts any carrier-side setup that failed.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Phone number record ID (from GET /v1/phone-numbers).
Responses
Success· the request worked
Errors· the request failed
How it behaves
Carrier capability check
The number's real carrier capability is checked first:
smsCapable: false: the number type can't do SMS at all.notReady: true: the number is still provisioning at the carrier; try again once provisioning finishes.
US registration
US numbers additionally need a carrier registration before messages deliver. The response tells you which path applies:
alreadyRegistered: true: a prior registration still covers this number; SMS was reactivated.reusableset: you have an approved registration this number can join in one click viaPOST /v1/phone-numbers/{id}/sms/reuse-registration(no new brand/campaign, no extra carrier fee).needsRegistration: trueand noreusable: start one viaPOST /v1/sms/registrations.
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.
Disable SMS on a number
Turns off SMS for the number (deactivates its SMS account). The carrier registration is untouched, so re-enabling later reactivates it, with no re-registration.