SMS

Remove an SMS opt-out

Changed on

Re-subscribes a recipient you opted out with POST /v1/sms/opt-outs. Succeeds as a no-op when the recipient is not opted out.

An opt-out the recipient made themselves (texting STOP) cannot be removed here: the carrier keeps blocking the number until they text START, so this returns 409 recipient_opted_out.

delete/v1/sms/opt-outs

Request

  • Base URL
    https://zernio.com/api
  • Auth
    HTTP bearer

Request body

accountIdstring required

ID of the SMS number account the opt-out applies to (from GET /v1/accounts).

phonestring required

Recipient phone number in E.164 format, e.g. +13105559999.

Response

Recipient is subscribed

accountIdstring
phoneNumberstring
optedOutboolean

Always false.

Changes