# Check Channel Support

POST https://api.smobi.com/v1/check-channel-support/{phoneNumber}

Authentication: x-api-key header (brand-scoped API key).

Check whether a phone number supports RCS or SMS before choosing a channel. Requires a configured RCS agent. Creates or updates the customer capability record and records API usage.

## Operation

```json
{
  "operationId": "checkChannelSupport",
  "parameters": [
    {
      "name": "phoneNumber",
      "required": true,
      "in": "path",
      "description": "Phone number to check channel support for",
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "201": {
      "description": "Channel support information retrieved successfully",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/CheckChannelCapabilityResponse"
          },
          "examples": {
            "check-channel-support": {
              "summary": "Check Channel Support",
              "description": "Example of checking which channels are supported for a phone number",
              "value": {
                "rcs": false,
                "sms": true
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Bad Request - Invalid phone number",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "example": "Invalid phone number"
              },
              "error": {
                "type": "string",
                "example": "Bad Request"
              },
              "statusCode": {
                "type": "number",
                "example": 400
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Unauthorized - Invalid API key",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "example": "Invalid API key"
              },
              "error": {
                "type": "string",
                "example": "Unauthorized"
              },
              "statusCode": {
                "type": "number",
                "example": 401
              }
            }
          }
        }
      }
    }
  },
  "summary": "Check Channel Support",
  "tags": [
    "Messaging"
  ],
  "security": [
    {
      "x-api-key": []
    }
  ],
  "description": "Check whether a phone number supports RCS or SMS before choosing a channel. Requires a configured RCS agent. Creates or updates the customer capability record and records API usage."
}
```

## Referenced Schemas

```json
{
  "CheckChannelCapabilityResponse": {
    "type": "object",
    "properties": {
      "rcs": {
        "type": "boolean",
        "description": "Whether the channel supports RCS",
        "example": true
      },
      "sms": {
        "type": "boolean",
        "description": "Whether the channel supports SMS",
        "example": true
      }
    },
    "required": [
      "rcs",
      "sms"
    ]
  }
}
```
