Skysay · Schema

SipConnection

TelephonyArtificial IntelligenceVoiceSoftware-as-a-ServiceCommunications

Properties

Name Type Description
channel_limit integernull
checks object
codecs array
country string
created_at string
id string
inbound objectnull
name string
numbers object
outbound objectnull
project_id string
revision integer
setup object
skysay object What to configure at your carrier: where to send calls, and where Skysay's calls come from.
sms_supported boolean Always false: a SIP trunk carries no SMS.
status string
updated_at string
View JSON Schema on GitHub

JSON Schema

skysay-ai-sip-connection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/skysay-ai/json-schema/skysay-ai-sip-connection-schema.json",
  "title": "SipConnection",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/skysay-ai-openapi.json#/components/schemas/SipConnection",
  "properties": {
    "channel_limit": {
      "type": [
        "integer",
        "null"
      ]
    },
    "checks": {
      "properties": {
        "reachability": {
          "description": "The latest reachability check: one SIP OPTIONS from Skysay's SIP host. Not proof that calls work.",
          "properties": {
            "checked_at": {
              "type": [
                "string",
                "null"
              ]
            },
            "created_at": {
              "type": "string"
            },
            "elapsed_ms": {
              "type": [
                "integer",
                "null"
              ]
            },
            "id": {
              "type": "string"
            },
            "reason": {
              "description": "When failed: no_response (no answer within a few seconds), probe_not_run or probe_lost (Skysay could not run it; check again).",
              "type": "string"
            },
            "reason_phrase": {
              "maxLength": 80,
              "type": "string"
            },
            "registration_hint": {
              "description": "likely: your carrier's answer asks for registration, which Skysay does not support yet.",
              "enum": [
                "likely",
                "none"
              ],
              "type": "string"
            },
            "sip_status_code": {
              "description": "The status your carrier answered. 401 or 407: it challenges for credentials, which is normal.",
              "type": [
                "integer",
                "null"
              ]
            },
            "status": {
              "enum": [
                "queued",
                "running",
                "done",
                "failed"
              ],
              "type": "string"
            },
            "transport": {
              "enum": [
                "udp",
                "tcp"
              ],
              "type": "string"
            }
          },
          "type": [
            "object",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "codecs": {
      "default": [
        "PCMA",
        "PCMU"
      ],
      "items": {
        "enum": [
          "PCMA",
          "PCMU"
        ],
        "type": "string"
      },
      "minItems": 1,
      "type": "array",
      "uniqueItems": true
    },
    "country": {
      "type": "string"
    },
    "created_at": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "inbound": {
      "properties": {
        "auth": {
          "properties": {
            "mode": {
              "type": "string"
            },
            "password_set": {
              "type": "boolean"
            },
            "username": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "number_formats": {
          "default": [
            "e164_plus",
            "e164"
          ],
          "description": "How your carrier sends the called number.",
          "items": {
            "enum": [
              "e164_plus",
              "e164",
              "national",
              "intl_00"
            ],
            "type": "string"
          },
          "minItems": 1,
          "type": "array",
          "uniqueItems": true
        },
        "source_cidrs": {
          "items": {
            "description": "A public IPv4 network your carrier signals from, in CIDR form (for example a.b.c.d/28), no wider than /16. Private and documentation ranges such as 203.0.113.0/24, and any network overlapping the carriers Skysay itself uses, are refused.",
            "type": "string"
          },
          "maxItems": 16,
          "minItems": 1,
          "type": "array"
        }
      },
      "type": [
        "object",
        "null"
      ]
    },
    "name": {
      "type": "string"
    },
    "numbers": {
      "properties": {
        "has_more": {
          "type": "boolean"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/SipConnectionNumber"
          },
          "maxItems": 50,
          "type": "array"
        },
        "limit": {
          "type": "integer"
        },
        "offset": {
          "type": "integer"
        },
        "returned": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "outbound": {
      "properties": {
        "auth": {
          "properties": {
            "mode": {
              "type": "string"
            },
            "password_set": {
              "type": "boolean"
            },
            "username": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "caller_format": {
          "default": "e164_plus",
          "description": "How your number is sent as caller ID.",
          "enum": [
            "e164_plus",
            "e164",
            "national"
          ],
          "type": "string"
        },
        "dial_format": {
          "default": "e164_plus",
          "description": "How the destination is sent. national applies only to destinations in the connection's country.",
          "enum": [
            "e164_plus",
            "e164",
            "national",
            "intl_00"
          ],
          "type": "string"
        },
        "host": {
          "description": "Your carrier's SIP host: a DNS name or public IPv4 address. Every address it resolves to must be public.",
          "type": "string"
        },
        "port": {
          "default": 5060,
          "description": "5060, or 1024-65535.",
          "type": "integer"
        },
        "transport": {
          "default": "udp",
          "enum": [
            "udp",
            "tcp"
          ],
          "type": "string"
        }
      },
      "type": [
        "object",
        "null"
      ]
    },
    "project_id": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    },
    "setup": {
      "properties": {
        "network": {
          "description": "admitted once every Skysay SIP edge host has applied this connection's source networks. not_admitted: no number is confirmed and the 24-hour admission window since the last save, attach or check has passed. paused: calls are refused for unusual call volume, until paused.paused_until (10 minutes, then 30 and 60 for repeat trips within a day; more calls in the meantime extend it).",
          "enum": [
            "admitted",
            "pending",
            "not_admitted",
            "paused",
            "not_required"
          ],
          "type": "string"
        },
        "paused": {
          "properties": {
            "message": {
              "type": "string"
            },
            "paused_at": {
              "type": "string"
            },
            "paused_until": {
              "type": [
                "string",
                "null"
              ]
            },
            "reason": {
              "type": "string"
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "reason": {
          "type": "string"
        },
        "state": {
          "enum": [
            "pending",
            "applied",
            "needs_attention",
            "unavailable"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "skysay": {
      "description": "What to configure at your carrier: where to send calls, and where Skysay's calls come from.",
      "properties": {
        "signalling_addresses": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "sip_host": {
          "type": "string"
        },
        "sip_port": {
          "type": "integer"
        },
        "transports": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "sms_supported": {
      "description": "Always false: a SIP trunk carries no SMS.",
      "type": "boolean"
    },
    "status": {
      "enum": [
        "active",
        "disabled"
      ],
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "SipConnectionInboundTest": {
      "properties": {
        "caller_last4": {
          "type": [
            "string",
            "null"
          ]
        },
        "created_at": {
          "type": "string"
        },
        "expires_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "type": "string"
        },
        "received_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "enum": [
            "armed",
            "received",
            "expired"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "SipConnectionNumber": {
      "properties": {
        "attached_at": {
          "type": "string"
        },
        "e164": {
          "type": "string"
        },
        "inbound": {
          "type": "boolean"
        },
        "number_id": {
          "type": "string"
        },
        "outbound": {
          "type": "boolean"
        },
        "outbound_allowed": {
          "description": "True only once ownership is confirmed.",
          "type": "boolean"
        },
        "ownership": {
          "properties": {
            "confirmed_at": {
              "type": [
                "string",
                "null"
              ]
            },
            "confirmed_by": {
              "enum": [
                "",
                "call",
                "support"
              ],
              "type": "string"
            },
            "last_check": {
              "oneOf": [
                {
                  "$ref": "#/$defs/SipOwnershipCheck"
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "checking",
                "confirmed",
                "not_confirmed",
                "needs_support"
              ],
              "type": "string"
            }
          },
          "type": "object"
        },
        "tests": {
          "properties": {
            "inbound": {
              "oneOf": [
                {
                  "$ref": "#/$defs/SipConnectionInboundTest"
                },
                {
                  "type": "null"
                }
              ]
            },
            "outbound": {
              "oneOf": [
                {
                  "$ref": "#/$defs/SipConnectionTestCall"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "type": "object"
        },
        "verified": {
          "description": "Every direction the number has passed its test call since the connection's networks last changed.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "SipConnectionTestCall": {
      "properties": {
        "answered_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "call_id": {
          "type": "string"
        },
        "call_status": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "dial_format": {
          "description": "The dialled-number format this call tried, when it was not the connection's own.",
          "type": [
            "string",
            "null"
          ]
        },
        "registration_hint": {
          "enum": [
            "likely",
            "none"
          ],
          "type": "string"
        },
        "sip_status_code": {
          "type": [
            "integer",
            "null"
          ]
        },
        "status": {
          "enum": [
            "calling",
            "answered",
            "failed"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "SipOwnershipCheck": {
      "description": "One verification call. The code is never returned.",
      "properties": {
        "created_at": {
          "type": "string"
        },
        "expires_at": {
          "type": "string"
        },
        "finished_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "hint": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "reason": {
          "description": "not_received, code_not_heard, connection_paused, call_not_placed or detached when failed; empty while the check is calling.",
          "type": "string"
        },
        "status": {
          "enum": [
            "calling",
            "confirmed",
            "failed"
          ],
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/skysay-ai-sip-connection"
All schemas
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.