{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-optout-channels-schema.json",
"title": "optoutChannels",
"description": "The senders and channels that the person is opted out of. An entry's presence means the person is opted out of that sender on that channel.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/customer-io-opt-outs-api-openapi.yml#/components/schemas/optoutChannels",
"x-scalar-ignore": true,
"type": "array",
"items": {
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "The channel that the person is opted out of.",
"enum": [
"sms",
"whatsapp"
]
},
"from": {
"type": "string",
"description": "The sender that the person is opted out of. For SMS, this is a sender phone number (E.164), an alphanumeric sender ID, or a messaging-service SID; for WhatsApp, it's the sender phone number."
}
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.