Twilio · Capability

Twilio - Notify — Credentials

Twilio - Notify — Credentials. 5 operations. Lead operation: Credentials. Self-contained Naftiko capability covering one Twilio business surface.

Run with Naftiko TwilioCredentials

What You Can Do

GET
Listcredential — listcredential
/v1/v1/credentials
POST
Createcredential — createcredential
/v1/v1/credentials
GET
Fetchcredential — fetchcredential
/v1/v1/credentials/{sid}
POST
Updatecredential — updatecredential
/v1/v1/credentials/{sid}
DELETE
Deletecredential — deletecredential
/v1/v1/credentials/{sid}

MCP Tools

listcredential

listcredential

read-only idempotent
createcredential

createcredential

fetchcredential

fetchcredential

read-only idempotent
updatecredential

updatecredential

deletecredential

deletecredential

idempotent

Capability Spec

notify-credentials.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio - Notify — Credentials
  description: 'Twilio - Notify — Credentials. 5 operations. Lead operation: Credentials. Self-contained Naftiko capability
    covering one Twilio business surface.'
  tags:
  - Twilio
  - Credentials
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: notify-credentials
    baseUri: https://notify.twilio.com
    description: Twilio - Notify — Credentials business capability. Self-contained, no shared references.
    resources:
    - name: v1-Credentials
      path: /v1/Credentials
      operations:
      - name: listcredential
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
      - name: createcredential
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-Credentials-Sid
      path: /v1/Credentials/{Sid}
      operations:
      - name: fetchcredential
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The Twilio-provided string that uniquely identifies the Credential resource to fetch.
          required: true
      - name: updatecredential
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The Twilio-provided string that uniquely identifies the Credential resource to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletecredential
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The Twilio-provided string that uniquely identifies the Credential resource to delete.
          required: true
    authentication:
      type: basic
      username: '{{env.TWILIO_USER}}'
      password: '{{env.TWILIO_PASS}}'
  exposes:
  - type: rest
    namespace: notify-credentials-rest
    port: 8080
    description: REST adapter for Twilio - Notify — Credentials. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/credentials
      name: v1-credentials
      description: REST surface for v1-Credentials.
      operations:
      - method: GET
        name: listcredential
        description: listcredential
        call: notify-credentials.listcredential
        with:
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcredential
        description: createcredential
        call: notify-credentials.createcredential
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/credentials/{sid}
      name: v1-credentials-sid
      description: REST surface for v1-Credentials-Sid.
      operations:
      - method: GET
        name: fetchcredential
        description: fetchcredential
        call: notify-credentials.fetchcredential
        with:
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: updatecredential
        description: updatecredential
        call: notify-credentials.updatecredential
        with:
          Sid: rest.Sid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecredential
        description: deletecredential
        call: notify-credentials.deletecredential
        with:
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: notify-credentials-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twilio - Notify — Credentials. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: listcredential
      description: listcredential
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: notify-credentials.listcredential
      with:
        PageSize: tools.PageSize
        Page: tools.Page
        PageToken: tools.PageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: createcredential
      description: createcredential
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: notify-credentials.createcredential
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fetchcredential
      description: fetchcredential
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: notify-credentials.fetchcredential
      with:
        Sid: tools.Sid
      outputParameters:
      - type: object
        mapping: $.
    - name: updatecredential
      description: updatecredential
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: notify-credentials.updatecredential
      with:
        Sid: tools.Sid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: deletecredential
      description: deletecredential
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: notify-credentials.deletecredential
      with:
        Sid: tools.Sid
      outputParameters:
      - type: object
        mapping: $.