sms
Opt a number back in to SMS
Removes a phone number from your team's outbound SMS opt-out list, so SMS can be sent to it again. It is the exact reverse of POST /sms/opt-out.
The team is taken from your API key, so it is not part of the payload. The number must be in international format (E.164), with or without the leading +; a national format such as 0612345678 is rejected. Opting in a number that was never opted out succeeds and changes nothing.
Note that this removes every opt-out entry your team holds for that number, whatever the sender number it was recorded against. A single call re-subscribes the recipient to all of your team's numbers.
Permission: Conversations Write required.
Monitoring: No impact.
post/sms/opt-in
Request body
Example request
{
"phone_number": "33611223344"
}Response
The number is opted back in. The response has no body.