# Check SMS Readiness

Checks a saved automation or notification SMS for content, sender and provider readiness. Returns blockers or unavailable checks. Inbound shared-number keywords are for subscriptions, not outbound SMS. Does not test email domains, send SMS, spend credits or change content.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "smsId": {
      "type": "integer",
      "description": "ID of the saved SMS, not the automation action ID",
      "minimum": 1
    },
    "kind": {
      "type": "string",
      "description": "Whether this is an automation or notification SMS",
      "enum": [
        "automation",
        "notification"
      ]
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "smsId",
    "kind"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "smsId",
    "kind",
    "ready",
    "blockers",
    "editUrl"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "smsId": {
      "type": "integer"
    },
    "kind": {
      "type": "string",
      "enum": [
        "automation",
        "notification"
      ]
    },
    "ready": {
      "type": "boolean"
    },
    "blockers": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "editUrl": {
      "type": "string"
    }
  }
}
```

