ChannelResponse
Schema for channel response. SECURITY: The 'config' field is intentionally excluded. It contains API tokens, secrets, and credentials that must NEVER be returned via API. Use 'identifier' for display purposes (phone number, bot username, page ID). For WhatsApp channels: - ``identifier`` returns a purely numeric phone number (no '+' or spaces) - ``phone_number_formatted`` returns the human-readable formatted number For RCS channels, three NON-SECRET columns are surfaced so the channel UI can render the agent identity and the launch lifecycle straight off the ``GET /channels`` row. The two secret RCS columns (``rcs_service_account_json`` -- one key that can send as ANY of our agents -- and ``rcs_client_token``) are deliberately absent and MUST NEVER be added here or to any other read schema. ``rcs_message_traffic_type`` is the ONE ``config`` key this schema exposes, and it arrives via the ``Channel.rcs_message_traffic_type`` **property** -- not by relaxing the config exclusion. Do not "simplify" that into returning ``config`` (or a filtered copy of it): the exclusion above is the reason a rotated ``access_token`` has never come back out of this endpoint, and a passthrough is how the next new secret key would.
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| tenant_id | string | |
| channel_type | object | |
| name | string | |
| identifier | string | |
| phone_number_formatted | object | |
| is_active | boolean | |
| is_verified | boolean | |
| is_coexistence | boolean | |
| created_at | string | |
| is_import_placeholder | boolean | `true` when the channel was created by a data import (for example a migration from another provider) to hold the imported conversation history, and has not been connected yet. It cannot send, be edite |
| connection_state | string | `not_connected` for an import placeholder (`is_import_placeholder=true`): the channel holds imported history only. `connected` for every other channel. A connected channel can still be unable to send: |
| imported_conversation_count | object | Number of conversations held by an import placeholder (`is_import_placeholder=true`). Returned by `GET /channels/{channel_id}` only; `null` in the list and for every other channel. |
| activation_status | object | ES/Coexistence activation lifecycle. `null` = ACTIVE (legacy / healthy channels). `AVAILABLE` = the channel row exists but setup is not complete (see `setup_pending_reason`); such a channel is `is_act |
| setup_pending_reason | object | Non-null when the channel row exists but setup is INCOMPLETE and needs customer action. `coexistence_setup_incomplete` = the WhatsApp number must finish Coexistence setup on the phone (keep it active |
| needs_reconnect_reason | object | Non-null when the channel was disconnected and the customer must reconnect it. `token_invalidated` = the access token / bot token is no longer valid (connect the channel again with a new token). `webh |
| degraded_reason | object | Non-null when the channel is still connected but needs attention. `meta_permission_denied` = several messages to different recipients failed with Meta error #10 or #200 (the app or number lost permiss |
| degraded_since | object | When the channel entered the degraded state (UTC). `null` when `degraded_reason` is `null`. |
| degraded_error_code | object | The Meta error code behind the degraded state: `10` (permission not granted or removed) or `200` (no permission to send for this account) for `meta_permission_denied`; `100` for `token_scope_missing` |
| avatar_url | object | Profile picture of the connected account on this channel (Facebook Page / Instagram account). Null when unavailable or not captured for this channel type. Meta CDN URLs expire — do not persist client- |
| rcs_agent_id | object | [RCS] Google RBM agent id, stored BARE (no '@rbm.goog' suffix). Normalisation happens on write via a model @validates hook. |
| rcs_partner_id | object | [RCS] Google RBM partner account id. |
| rcs_launch_state | object | [RCS] Free-form brand-verification + per-carrier launch status. Absent/empty means NOTHING is launched (fail closed): pre-launch an agent can only reach allowlisted tester devices. |
| rcs_message_traffic_type | object | [RCS] The channel's DEFAULT `messageTrafficType` (`AUTHENTICATION` | `TRANSACTION` | `PROMOTION` | `SERVICEREQUEST` | `ACKNOWLEDGEMENT`), or `null` when none is set. A German regulatory declaration ab |
| rcs_pricing_mode | object | [RCS] How this RCS agent is billed (read-only; set by SendSeven): `per_message` = each message is billed and counts towards your messages; `mau` = billed once per monthly active recipient, and its mes |
| local_storage | object | [WhatsApp] Meta Local Storage state of the number (read-only). `status`: enabled | not_enabled | unknown; `location`: eu | other (null unless enabled); `source`: customer_choice | default | migrated_n |
| availability | object | Whether the channel can send right now. `state`: available | warning | payment_issue | disconnected | unavailable | inactive. Sends on a `disconnected` channel answer 409 `CHANNEL_DISCONNECTED`, on an |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/sendseven-com/json-schema/sendseven-com-channel-response-schema.json",
"title": "ChannelResponse",
"description": "Schema for channel response.\n\nSECURITY: The 'config' field is intentionally excluded. It contains\nAPI tokens, secrets, and credentials that must NEVER be returned via API.\nUse 'identifier' for display purposes (phone number, bot username, page ID).\n\nFor WhatsApp channels:\n- ``identifier`` returns a purely numeric phone number (no '+' or spaces)\n- ``phone_number_formatted`` returns the human-readable formatted number\n\nFor RCS channels, three NON-SECRET columns are surfaced so the channel UI\ncan render the agent identity and the launch lifecycle straight off the\n``GET /channels`` row. The two secret RCS columns\n(``rcs_service_account_json`` -- one key that can send as ANY of our\nagents -- and ``rcs_client_token``) are deliberately absent and MUST NEVER\nbe added here or to any other read schema.\n\n``rcs_message_traffic_type`` is the ONE ``config`` key this schema exposes,\nand it arrives via the ``Channel.rcs_message_traffic_type`` **property** --\nnot by relaxing the config exclusion. Do not \"simplify\" that into returning\n``config`` (or a filtered copy of it): the exclusion above is the reason a\nrotated ``access_token`` has never come back out of this endpoint, and a\npassthrough is how the next new secret key would.",
"x-generated": "2026-11-24",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/sendseven-com-openapi.json#/components/schemas/ChannelResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"tenant_id": {
"type": "string",
"title": "Tenant Id"
},
"channel_type": {
"$ref": "#/$defs/ChannelType"
},
"name": {
"type": "string",
"title": "Name"
},
"identifier": {
"type": "string",
"title": "Identifier"
},
"phone_number_formatted": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Phone Number Formatted"
},
"is_active": {
"type": "boolean",
"title": "Is Active"
},
"is_verified": {
"type": "boolean",
"title": "Is Verified",
"default": false
},
"is_coexistence": {
"type": "boolean",
"title": "Is Coexistence",
"default": false
},
"created_at": {
"type": "string",
"format": "date-time",
"title": "Created At"
},
"is_import_placeholder": {
"type": "boolean",
"title": "Is Import Placeholder",
"description": "`true` when the channel was created by a data import (for example a migration from another provider) to hold the imported conversation history, and has not been connected yet. It cannot send, be edited or be tested until you connect the same number, address or account; connecting it turns this channel into the live channel and keeps its history.",
"default": false
},
"connection_state": {
"type": "string",
"enum": [
"connected",
"not_connected"
],
"title": "Connection State",
"description": "`not_connected` for an import placeholder (`is_import_placeholder=true`): the channel holds imported history only. `connected` for every other channel. A connected channel can still be unable to send: check `availability.state`, `needs_reconnect_reason` and `setup_pending_reason` for that.",
"default": "connected"
},
"imported_conversation_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Imported Conversation Count",
"description": "Number of conversations held by an import placeholder (`is_import_placeholder=true`). Returned by `GET /channels/{channel_id}` only; `null` in the list and for every other channel."
},
"activation_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Activation Status",
"description": "ES/Coexistence activation lifecycle. `null` = ACTIVE (legacy / healthy channels). `AVAILABLE` = the channel row exists but setup is not complete (see `setup_pending_reason`); such a channel is `is_active=false` and MUST NOT be rendered as connected."
},
"setup_pending_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Setup Pending Reason",
"description": "Non-null when the channel row exists but setup is INCOMPLETE and needs customer action. `coexistence_setup_incomplete` = the WhatsApp number must finish Coexistence setup on the phone (keep it active on the WhatsApp Business App, re-run connect, and complete Meta's dialog incl. the QR scan + on-handset confirmation). `null` for every fully-set-up channel. A channel with this set is NOT connected and must not render as such."
},
"needs_reconnect_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Needs Reconnect Reason",
"description": "Non-null when the channel was disconnected and the customer must reconnect it. `token_invalidated` = the access token / bot token is no longer valid (connect the channel again with a new token). `webhook_removed` = the bot's webhook was removed outside SendSeven, so no messages arrive (Telegram: reconnect via `POST /channels/{id}/refresh-webhook`). WhatsApp: `access_revoked` = SendSeven lost access to the number (for example the Business app connection was removed), `app_unsubscribed` = SendSeven no longer receives the number's webhooks, `phone_deregistered` = the number is no longer registered; all three: connect the number again. `null` otherwise."
},
"degraded_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Degraded Reason",
"description": "Non-null when the channel is still connected but needs attention. `meta_permission_denied` = several messages to different recipients failed with Meta error #10 or #200 (the app or number lost permission to send); clears after the next successfully sent message (WhatsApp, Messenger, Instagram). `webhooks_silent` = WhatsApp accepted our messages but sent no updates (no replies, no delivery or read receipts) for over 24 hours; clears as soon as updates arrive again (WhatsApp only). `token_scope_missing` = the WhatsApp connection lost its WhatsApp permissions; clears after a reconnect or the next successful permission check (WhatsApp only). Only one reason is returned, by priority `token_scope_missing` > `meta_permission_denied` > `webhooks_silent`. Sending is never blocked and the channel stays active. `null` when healthy, and always `null` while `needs_reconnect_reason` is set or the channel is inactive."
},
"degraded_since": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Degraded Since",
"description": "When the channel entered the degraded state (UTC). `null` when `degraded_reason` is `null`."
},
"degraded_error_code": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Degraded Error Code",
"description": "The Meta error code behind the degraded state: `10` (permission not granted or removed) or `200` (no permission to send for this account) for `meta_permission_denied`; `100` for `token_scope_missing` when Meta reported it as an error, else `null`. Always `null` for `webhooks_silent` and when `degraded_reason` is `null`."
},
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Avatar Url",
"description": "Profile picture of the connected account on this channel (Facebook Page / Instagram account). Null when unavailable or not captured for this channel type. Meta CDN URLs expire — do not persist client-side."
},
"rcs_agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Rcs Agent Id",
"description": "[RCS] Google RBM agent id, stored BARE (no '@rbm.goog' suffix). Normalisation happens on write via a model @validates hook."
},
"rcs_partner_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Rcs Partner Id",
"description": "[RCS] Google RBM partner account id."
},
"rcs_launch_state": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Rcs Launch State",
"description": "[RCS] Free-form brand-verification + per-carrier launch status. Absent/empty means NOTHING is launched (fail closed): pre-launch an agent can only reach allowlisted tester devices."
},
"rcs_message_traffic_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Rcs Message Traffic Type",
"description": "[RCS] The channel's DEFAULT `messageTrafficType` (`AUTHENTICATION` | `TRANSACTION` | `PROMOTION` | `SERVICEREQUEST` | `ACKNOWLEDGEMENT`), or `null` when none is set. A German regulatory declaration about the nature of the message (UWG / telecoms), NOT a billing tier and not a delivery-speed setting. `null` means unset -- the adapter then falls back to `SERVICEREQUEST` -- and is what an archived channel reads, since this value is deliberately not preserved across archiving. Returned canonicalised, i.e. exactly the value that will be sent to Google; a stored value outside the five enum values reads as `null` because that is what the adapter will make of it. Set it with `PUT /channels/{id}/rcs/credentials`."
},
"rcs_pricing_mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Rcs Pricing Mode",
"description": "[RCS] How this RCS agent is billed (read-only; set by SendSeven): `per_message` = each message is billed and counts towards your messages; `mau` = billed once per monthly active recipient, and its messages do NOT count as messages sent. `null` on every non-RCS channel."
},
"local_storage": {
"anyOf": [
{
"$ref": "#/$defs/WhatsAppLocalStorageState"
},
{
"type": "null"
}
],
"description": "[WhatsApp] Meta Local Storage state of the number (read-only). `status`: enabled | not_enabled | unknown; `location`: eu | other (null unless enabled); `source`: customer_choice | default | migrated_number | preexisting; `reason`: coexistence | already_registered | meta_rejected | not_requested. `null` for numbers connected before this was recorded."
},
"availability": {
"anyOf": [
{
"$ref": "#/$defs/ChannelAvailability"
},
{
"type": "null"
}
],
"description": "Whether the channel can send right now. `state`: available | warning | payment_issue | disconnected | unavailable | inactive. Sends on a `disconnected` channel answer 409 `CHANNEL_DISCONNECTED`, on an `unavailable` one 409 `CHANNEL_UNAVAILABLE`. On a `payment_issue` channel only template / business-initiated sends answer 409 `CHANNEL_TEMPLATES_BLOCKED`; free-form replies inside the 24-hour window are not blocked by SendSeven."
}
},
"type": "object",
"required": [
"id",
"tenant_id",
"channel_type",
"name",
"identifier",
"is_active",
"created_at"
],
"$defs": {
"ChannelAvailability": {
"properties": {
"state": {
"type": "string",
"title": "State",
"description": "`available` = sends normally. `warning` = sends, but see `warning`. `payment_issue` = Meta reports a payment or billing problem on the WhatsApp account (`reason` `meta_payment_issue`): template / business-initiated sends (template messages, template campaigns, scheduled templates, starting a conversation) are refused with 409 `CHANNEL_TEMPLATES_BLOCKED` (`template_sends_blocked` true). Free-form replies inside the 24-hour customer service window are not blocked by SendSeven; Meta delivers them within its free monthly tier of service messages and fails them per message after that. Fix it in Meta Business Suite (`action_url`), the channel recovers on its own. `disconnected` = cannot send until reconnected (`reconnect_required` true). `unavailable` = cannot send at all because Meta banned or restricted the WhatsApp account (`reason` `meta_account_blocked`; fix it in Meta Business Suite, the channel resumes on its own). `inactive` = disabled, archived or setup not finished. Precedence: inactive / disconnected / unavailable > payment_issue > warning > available."
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason",
"description": "The disconnection reason: `token_invalidated`, `webhook_removed`, `access_revoked`, `app_unsubscribed`, `phone_deregistered`, `PARTNER_REMOVED`, `ACCOUNT_OFFBOARDED`, `meta_account_blocked` (real Meta ban or restriction), `meta_payment_issue` (state `payment_issue`), or null."
},
"reconnect_required": {
"type": "boolean",
"title": "Reconnect Required",
"description": "True when the channel must be reconnected.",
"default": false
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source",
"description": "What detected it: `webhook`, `send_error` or `health_check`."
},
"meta_error_code": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Meta Error Code",
"description": "Meta error code that triggered the state, if any."
},
"meta_error_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Meta Error Message",
"description": "Meta's error text (trimmed), if any."
},
"detected_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Detected At",
"description": "When the state was detected (UTC)."
},
"last_checked_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Last Checked At",
"description": "Last WhatsApp health check (UTC)."
},
"warning": {
"anyOf": [
{
"$ref": "#/$defs/ChannelAvailabilityWarning"
},
{
"type": "null"
}
]
},
"template_sends_blocked": {
"type": "boolean",
"title": "Template Sends Blocked",
"description": "True in state `payment_issue`: template / business-initiated sends are refused while free-form replies inside the 24-hour window are not blocked by SendSeven. False otherwise (the `disconnected` / `unavailable` / `inactive` states refuse every send anyway).",
"default": false
},
"service_sends_blocked": {
"type": "boolean",
"title": "Service Sends Blocked",
"description": "True only in a variant of state `payment_issue`: Meta rejected a free-form (service) reply because the number used up Meta's free monthly allowance of service messages and the account has no payment method. SendSeven still does not pre-block service sends; each one Meta rejects fails with `error_code` `service_allowance_exhausted`. Clears on the next successful service send or a passing health check. `template_sends_blocked` stays true.",
"default": false
},
"action_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Action Url",
"description": "Where to fix a Meta-side problem (a Meta Business Suite link), e.g. for state `payment_issue` or `unavailable`. Null otherwise."
}
},
"type": "object",
"required": [
"state"
],
"title": "ChannelAvailability",
"description": "Whether the channel can send right now, and why not."
},
"ChannelAvailabilityWarning": {
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Same values as `degraded_reason`: `meta_permission_denied`, `webhooks_silent`, `token_scope_missing`; `phone_limited` when Meta reports the WhatsApp number as limited; `meta_health_warning` when Meta reports a health problem on the WhatsApp account that does not stop sending (see `meta_error_code`)."
},
"since": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Since",
"description": "When the warning started (UTC)."
},
"detail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Detail",
"description": "Meta error code behind it as a string, if any."
}
},
"type": "object",
"required": [
"code"
],
"title": "ChannelAvailabilityWarning",
"description": "Non-blocking warning: the channel still sends but needs attention."
},
"ChannelType": {
"type": "string",
"enum": [
"whatsapp",
"telegram",
"messenger",
"instagram",
"sms",
"viber",
"live_chat",
"browser_push",
"email",
"rcs"
],
"title": "ChannelType",
"description": "Every messaging channel the platform supports."
},
"WhatsAppLocalStorageState": {
"properties": {
"status": {
"type": "string",
"title": "Status",
"description": "enabled | not_enabled | unknown"
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Location",
"description": "Where message data is stored when enabled: `eu`, or `other` (set by a previous provider outside the EU). Null when not enabled."
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source",
"description": "customer_choice | default | migrated_number | preexisting"
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason",
"description": "coexistence | already_registered | meta_rejected | not_requested"
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Updated At",
"description": "ISO 8601 UTC timestamp of the last update"
}
},
"type": "object",
"required": [
"status"
],
"title": "WhatsAppLocalStorageState",
"description": "Recorded Meta Local Storage state of a WhatsApp number (read-only)."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/sendseven-com-channel-response"
curl "https://apis.io/api/v1/json-schemas?limit=25"
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.
A second provider on the same verified email joins the account you already have.