Twilio · Capability

Twilio - Routes — SipDomains

Twilio - Routes — SipDomains. 2 operations. Lead operation: SipDomains. Self-contained Naftiko capability covering one Twilio business surface.

Run with Naftiko TwilioSipDomains

What You Can Do

POST
Updatesipdomain — updatesipdomain
/v1/v2/sipdomains/{sipdomain}
GET
Fetchsipdomain — fetchsipdomain
/v1/v2/sipdomains/{sipdomain}

MCP Tools

updatesipdomain

updatesipdomain

fetchsipdomain

fetchsipdomain

read-only idempotent

Capability Spec

routes-sipdomains.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio - Routes — SipDomains
  description: 'Twilio - Routes — SipDomains. 2 operations. Lead operation: SipDomains. Self-contained Naftiko capability
    covering one Twilio business surface.'
  tags:
  - Twilio
  - SipDomains
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: routes-sipdomains
    baseUri: https://routes.twilio.com
    description: Twilio - Routes — SipDomains business capability. Self-contained, no shared references.
    resources:
    - name: v2-SipDomains-SipDomain
      path: /v2/SipDomains/{SipDomain}
      operations:
      - name: updatesipdomain
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: SipDomain
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: fetchsipdomain
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: SipDomain
          in: path
          type: string
          required: true
    authentication:
      type: basic
      username: '{{env.TWILIO_USER}}'
      password: '{{env.TWILIO_PASS}}'
  exposes:
  - type: rest
    namespace: routes-sipdomains-rest
    port: 8080
    description: REST adapter for Twilio - Routes — SipDomains. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v2/sipdomains/{sipdomain}
      name: v2-sipdomains-sipdomain
      description: REST surface for v2-SipDomains-SipDomain.
      operations:
      - method: POST
        name: updatesipdomain
        description: updatesipdomain
        call: routes-sipdomains.updatesipdomain
        with:
          SipDomain: rest.SipDomain
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: fetchsipdomain
        description: fetchsipdomain
        call: routes-sipdomains.fetchsipdomain
        with:
          SipDomain: rest.SipDomain
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: routes-sipdomains-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twilio - Routes — SipDomains. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: updatesipdomain
      description: updatesipdomain
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: routes-sipdomains.updatesipdomain
      with:
        SipDomain: tools.SipDomain
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fetchsipdomain
      description: fetchsipdomain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: routes-sipdomains.fetchsipdomain
      with:
        SipDomain: tools.SipDomain
      outputParameters:
      - type: object
        mapping: $.