Skip to main content
PUT
Change a subscription's texts choice

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

token
string
required

Subscription token

Body

application/json
opted_in
boolean
required

Whether the customer agrees to receive recurring subscription texts.

phone
string
required

The phone number to text, in any format a customer types. Only US and Canadian numbers are accepted.

disclosure_version
string
required

The version of the disclosure the customer saw, from the GET on the same path.

Response

The choice was recorded

meta
object
required