Sarj AI Developer API Kamailio State API

The kamailio-state API from Sarj AI Developer API — 1 operation(s) for kamailio-state.

Operations 1

GET /v1/beta/telephony/kamailio-state Get #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/sarj-ai-developer-api-kamailio-state-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sarj-ai-developer-api-kamailio-state-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sarj.ai Voice Kamailio State API
  version: 1.0.0
tags:
- name: kamailio-state
paths:
  /v1/beta/telephony/kamailio-state:
    get:
      tags:
      - kamailio-state
      summary: Get
      operationId: kamailioStateGet
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KamailioStateSnapshot'
components:
  schemas:
    LivekitDirectConnectionConfig:
      properties:
        path:
          type: string
          const: livekit_direct
          title: Path
          default: livekit_direct
        livekit_inbound_trunk_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Livekit Inbound Trunk Id
        livekit_outbound_trunk_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Livekit Outbound Trunk Id
      additionalProperties: false
      type: object
      required:
      - livekit_inbound_trunk_id
      - livekit_outbound_trunk_id
      title: LivekitDirectConnectionConfig
    TelephonyAllocationEntry:
      properties:
        kind:
          $ref: '#/components/schemas/TelephonyAllocationKind'
        value:
          type: integer
          minimum: 0.0
          title: Value
        note:
          type: string
          title: Note
        allocated_at:
          type: string
          format: date-time
          title: Allocated At
      additionalProperties: false
      type: object
      required:
      - kind
      - value
      - note
      - allocated_at
      title: TelephonyAllocationEntry
    SipConnection:
      properties:
        id:
          type: string
          title: Id
        provider_id:
          type: string
          title: Provider Id
        organization_id:
          type: string
          title: Organization Id
        config:
          oneOf:
          - $ref: '#/components/schemas/PlatformSipConnectionConfig'
          - $ref: '#/components/schemas/LivekitDirectConnectionConfig'
          title: Config
          discriminator:
            propertyName: path
            mapping:
              livekit_direct: '#/components/schemas/LivekitDirectConnectionConfig'
              platform_sip: '#/components/schemas/PlatformSipConnectionConfig'
        transport:
          $ref: '#/components/schemas/Transport'
        number_format:
          $ref: '#/components/schemas/NumberFormat'
        status:
          $ref: '#/components/schemas/SipConnectionStatus'
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      additionalProperties: false
      type: object
      required:
      - id
      - provider_id
      - organization_id
      - config
      - transport
      - number_format
      - status
      - created_at
      - updated_at
      title: SipConnection
    RawTelephonyDumps:
      properties:
        dispatcher_sets:
          items:
            $ref: '#/components/schemas/RpcDispatcherSet'
          type: array
          title: Dispatcher Sets
        addresses:
          items:
            $ref: '#/components/schemas/RpcAddressEntry'
          type: array
          title: Addresses
        subnets:
          items:
            $ref: '#/components/schemas/RpcSubnetEntry'
          type: array
          title: Subnets
        registrations:
          items:
            $ref: '#/components/schemas/RpcRegistration'
          type: array
          title: Registrations
        subscribers:
          items:
            $ref: '#/components/schemas/TelephonySubscriberEntry'
          type: array
          title: Subscribers
        routers:
          items:
            $ref: '#/components/schemas/TelephonyRouterEntry'
          type: array
          title: Routers
        allocations:
          items:
            $ref: '#/components/schemas/TelephonyAllocationEntry'
          type: array
          title: Allocations
      additionalProperties: false
      type: object
      required:
      - dispatcher_sets
      - addresses
      - subnets
      - registrations
      - subscribers
      - routers
      - allocations
      title: RawTelephonyDumps
    RpcContact:
      properties:
        address:
          type: string
          title: Address
        expires:
          type: integer
          title: Expires
        q:
          type: number
          title: Q
        user_agent:
          type: string
          title: User Agent
      additionalProperties: false
      type: object
      required:
      - address
      - expires
      - q
      - user_agent
      title: RpcContact
    SipConnectionStatus:
      type: string
      enum:
      - pending_verification
      - active
      - disabled
      title: SipConnectionStatus
    TelephonyAllocationKind:
      type: string
      enum:
      - setid
      - address_group
      title: TelephonyAllocationKind
    KamailioStateSnapshot:
      properties:
        sections:
          items:
            $ref: '#/components/schemas/TelephonySection'
          type: array
          title: Sections
        connections:
          items:
            $ref: '#/components/schemas/ConnectionTelephonyState'
          type: array
          title: Connections
        orphans:
          $ref: '#/components/schemas/OrphanReport'
        raw:
          $ref: '#/components/schemas/RawTelephonyDumps'
      additionalProperties: false
      type: object
      required:
      - sections
      - connections
      - orphans
      - raw
      title: KamailioStateSnapshot
    TelephonySubscriberEntry:
      properties:
        username:
          type: string
          title: Username
        domain:
          type: string
          title: Domain
        account:
          anyOf:
          - type: integer
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Account
      additionalProperties: false
      type: object
      required:
      - username
      - domain
      - account
      title: TelephonySubscriberEntry
    RpcAddressEntry:
      properties:
        table:
          type: integer
          minimum: 0.0
          title: Table
        group:
          type: integer
          minimum: 0.0
          title: Group
        ip:
          type: string
          title: Ip
        port:
          type: integer
          maximum: 65535.0
          minimum: 0.0
          title: Port
        tag:
          type: string
          title: Tag
      additionalProperties: false
      type: object
      required:
      - table
      - group
      - ip
      - port
      - tag
      title: RpcAddressEntry
    OrphanReport:
      properties:
        dispatcher_setids:
          items:
            type: integer
          type: array
          title: Dispatcher Setids
        address_groups:
          items:
            type: integer
          type: array
          title: Address Groups
        subscriber_usernames:
          items:
            type: string
          type: array
          title: Subscriber Usernames
        router_numbers:
          items:
            type: string
          type: array
          title: Router Numbers
        allocations:
          items:
            $ref: '#/components/schemas/TelephonyAllocationEntry'
          type: array
          title: Allocations
      additionalProperties: false
      type: object
      required:
      - dispatcher_setids
      - address_groups
      - subscriber_usernames
      - router_numbers
      - allocations
      title: OrphanReport
      description: Telephony rows with no SIP claims; empty lists when the source section is unavailable.
    RpcDispatcherSet:
      properties:
        id:
          type: integer
          minimum: 0.0
          title: Id
        gateways:
          items:
            $ref: '#/components/schemas/RpcGateway'
          type: array
          title: Gateways
      additionalProperties: false
      type: object
      required:
      - id
      - gateways
      title: RpcDispatcherSet
    TelephonySectionName:
      type: string
      enum:
      - dispatcher_sets
      - addresses
      - subnets
      - registrations
      - subscribers
      - routers
      - allocations
      title: TelephonySectionName
    NumberFormat:
      type: string
      enum:
      - e164
      - no_plus
      title: NumberFormat
    RpcRegistration:
      properties:
        aor:
          type: string
          title: Aor
        contacts:
          items:
            $ref: '#/components/schemas/RpcContact'
          type: array
          title: Contacts
      additionalProperties: false
      type: object
      required:
      - aor
      - contacts
      title: RpcRegistration
    RpcGateway:
      properties:
        destination:
          type: string
          title: Destination
        flags:
          type: string
          title: Flags
        priority:
          type: integer
          minimum: 0.0
          title: Priority
        attrs:
          type: string
          title: Attrs
      additionalProperties: false
      type: object
      required:
      - destination
      - flags
      - priority
      - attrs
      title: RpcGateway
    TelephonyRouterEntry:
      properties:
        number:
          type: string
          title: Number
        account:
          type: integer
          minimum: 0.0
          title: Account
      additionalProperties: false
      type: object
      required:
      - number
      - account
      title: TelephonyRouterEntry
    RpcSubnetEntry:
      properties:
        group:
          type: integer
          minimum: 0.0
          title: Group
        ip:
          type: string
          title: Ip
        mask:
          type: integer
          maximum: 128.0
          minimum: 0.0
          title: Mask
        port:
          type: integer
          maximum: 65535.0
          minimum: 0.0
          title: Port
        tag:
          type: string
          title: Tag
      additionalProperties: false
      type: object
      required:
      - group
      - ip
      - mask
      - port
      - tag
      title: RpcSubnetEntry
    TelephonySection:
      properties:
        name:
          $ref: '#/components/schemas/TelephonySectionName'
        available:
          type: boolean
          title: Available
        detail:
          anyOf:
          - type: string
          - type: 'null'
          title: Detail
      additionalProperties: false
      type: object
      required:
      - name
      - available
      - detail
      title: TelephonySection
    ConnectionTelephonyState:
      properties:
        connection:
          $ref: '#/components/schemas/SipConnection'
        provider_name:
          type: string
          title: Provider Name
        dispatcher_set:
          anyOf:
          - $ref: '#/components/schemas/RpcDispatcherSet'
          - type: 'null'
        address_entries:
          items:
            $ref: '#/components/schemas/RpcAddressEntry'
          type: array
          title: Address Entries
        registration:
          anyOf:
          - $ref: '#/components/schemas/RpcRegistration'
          - type: 'null'
        subscriber_present:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Subscriber Present
        outbound_registration:
          anyOf:
          - $ref: '#/components/schemas/RpcRegistration'
          - type: 'null'
        outbound_subscriber_present:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Outbound Subscriber Present
      additionalProperties: false
      type: object
      required:
      - connection
      - provider_name
      - dispatcher_set
      - address_entries
      - registration
      - subscriber_present
      - outbound_registration
      - outbound_subscriber_present
      title: ConnectionTelephonyState
    PlatformSipConnectionConfig:
      properties:
        path:
          type: string
          const: platform_sip
          title: Path
          default: platform_sip
        outbound_setid:
          anyOf:
          - type: integer
          - type: 'null'
          title: Outbound Setid
        inbound_group_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Inbound Group Id
        inbound_auth_username:
          anyOf:
          - type: string
          - type: 'null'
          title: Inbound Auth Username
        outbound_auth_username:
          anyOf:
          - type: string
          - type: 'null'
          title: Outbound Auth Username
        livekit_outbound_trunk_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Livekit Outbound Trunk Id
      additionalProperties: false
      type: object
      required:
      - outbound_setid
      - inbound_group_id
      - inbound_auth_username
      title: PlatformSipConnectionConfig
    Transport:
      type: string
      enum:
      - udp
      - tcp
      - tls
      title: Transport