Sarj AI Developer API Sip Trunk API

The sip_trunk API from Sarj AI Developer API — 2 operation(s) for sip_trunk.

Operations 4

GET /v1/beta/sip-trunks/ List Sip Trunks #
POST /v1/beta/sip-trunks/ Upsert Sip Trunk #
GET /v1/beta/sip-trunks/{trunk_id} Get Sip Trunk #
DELETE /v1/beta/sip-trunks/{trunk_id} Delete Sip Trunk #

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-sip-trunk-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-sip-trunk-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sarj.ai Voice Sip Trunk API
  version: 1.0.0
tags:
- name: SIP Trunk
paths:
  /v1/beta/sip-trunks/:
    get:
      tags:
      - SIP Trunk
      summary: List Sip Trunks
      operationId: sipTrunkListSipTrunks
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSipTrunksResponse'
    post:
      tags:
      - SIP Trunk
      summary: Upsert Sip Trunk
      operationId: sipTrunkUpsertSipTrunk
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertSipTrunk'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SipTrunk'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/beta/sip-trunks/{trunk_id}:
    get:
      tags:
      - SIP Trunk
      summary: Get Sip Trunk
      operationId: sipTrunkGetSipTrunk
      parameters:
      - name: trunk_id
        in: path
        required: true
        schema:
          type: string
          title: Trunk Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SipTrunk'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - SIP Trunk
      summary: Delete Sip Trunk
      operationId: sipTrunkDeleteSipTrunk
      parameters:
      - name: trunk_id
        in: path
        required: true
        schema:
          type: string
          title: Trunk Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DeleteResponse:
      properties: {}
      type: object
      title: DeleteResponse
    Provider:
      type: string
      enum:
      - voxa
      - bevatel
      - twilio
      - maqsam
      title: Provider
    SipTrunk:
      properties:
        id:
          type: string
          title: Id
        trunk_id:
          type: string
          title: Trunk Id
        created_at:
          type: string
          format: date-time
          title: Created At
        provider:
          $ref: '#/components/schemas/Provider'
        trunk_name:
          type: string
          title: Trunk Name
        caller_id_numbers:
          $ref: '#/components/schemas/CallerIdNumbers'
      type: object
      required:
      - id
      - trunk_id
      - created_at
      - provider
      - trunk_name
      - caller_id_numbers
      title: SipTrunk
    UpsertSipTrunk:
      properties:
        id:
          anyOf:
          - type: string
          - type: 'null'
          title: Id
        trunk_id:
          type: string
          title: Trunk Id
        provider:
          $ref: '#/components/schemas/Provider'
        trunk_name:
          type: string
          title: Trunk Name
        caller_id_numbers:
          $ref: '#/components/schemas/CallerIdNumbers'
      type: object
      required:
      - trunk_id
      - provider
      - trunk_name
      - caller_id_numbers
      title: UpsertSipTrunk
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ListSipTrunksResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SipTrunk'
          type: array
          title: Items
      type: object
      required:
      - items
      title: ListSipTrunksResponse
    CallerIdNumbers:
      properties:
        numbers:
          items:
            type: string
          type: array
          title: Numbers
          default: []
      type: object
      title: CallerIdNumbers