Twilio · Capability

Twilio - Trusthub — SupportingDocuments

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

Run with Naftiko TwilioSupportingDocuments

What You Can Do

POST
Createsupportingdocument — Create a new Supporting Document.
/v1/v1/supportingdocuments
GET
Listsupportingdocument — Retrieve a list of all Supporting Document for an account.
/v1/v1/supportingdocuments
GET
Fetchsupportingdocument — Fetch specific Supporting Document Instance.
/v1/v1/supportingdocuments/{sid}
POST
Updatesupportingdocument — Update an existing Supporting Document.
/v1/v1/supportingdocuments/{sid}
DELETE
Deletesupportingdocument — Delete a specific Supporting Document.
/v1/v1/supportingdocuments/{sid}

MCP Tools

create-new-supporting-document

Create a new Supporting Document.

retrieve-list-all-supporting-document

Retrieve a list of all Supporting Document for an account.

read-only idempotent
fetch-specific-supporting-document-instance

Fetch specific Supporting Document Instance.

read-only idempotent
update-existing-supporting-document

Update an existing Supporting Document.

delete-specific-supporting-document

Delete a specific Supporting Document.

idempotent

Capability Spec

trust-hub-supportingdocuments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio - Trusthub — SupportingDocuments
  description: 'Twilio - Trusthub — SupportingDocuments. 5 operations. Lead operation: SupportingDocuments. Self-contained
    Naftiko capability covering one Twilio business surface.'
  tags:
  - Twilio
  - SupportingDocuments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: trust-hub-supportingdocuments
    baseUri: https://trusthub.twilio.com
    description: Twilio - Trusthub — SupportingDocuments business capability. Self-contained, no shared references.
    resources:
    - name: v1-SupportingDocuments
      path: /v1/SupportingDocuments
      operations:
      - name: createsupportingdocument
        method: POST
        description: Create a new Supporting Document.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: listsupportingdocument
        method: GET
        description: Retrieve a list of all Supporting Document for an account.
        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: v1-SupportingDocuments-Sid
      path: /v1/SupportingDocuments/{Sid}
      operations:
      - name: fetchsupportingdocument
        method: GET
        description: Fetch specific Supporting Document Instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string created by Twilio to identify the Supporting Document resource.
          required: true
      - name: updatesupportingdocument
        method: POST
        description: Update an existing Supporting Document.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string created by Twilio to identify the Supporting Document resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletesupportingdocument
        method: DELETE
        description: Delete a specific Supporting Document.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string created by Twilio to identify the Supporting Document resource.
          required: true
    authentication:
      type: basic
      username: '{{env.TWILIO_USER}}'
      password: '{{env.TWILIO_PASS}}'
  exposes:
  - type: rest
    namespace: trust-hub-supportingdocuments-rest
    port: 8080
    description: REST adapter for Twilio - Trusthub — SupportingDocuments. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/supportingdocuments
      name: v1-supportingdocuments
      description: REST surface for v1-SupportingDocuments.
      operations:
      - method: POST
        name: createsupportingdocument
        description: Create a new Supporting Document.
        call: trust-hub-supportingdocuments.createsupportingdocument
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listsupportingdocument
        description: Retrieve a list of all Supporting Document for an account.
        call: trust-hub-supportingdocuments.listsupportingdocument
        with:
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/supportingdocuments/{sid}
      name: v1-supportingdocuments-sid
      description: REST surface for v1-SupportingDocuments-Sid.
      operations:
      - method: GET
        name: fetchsupportingdocument
        description: Fetch specific Supporting Document Instance.
        call: trust-hub-supportingdocuments.fetchsupportingdocument
        with:
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: updatesupportingdocument
        description: Update an existing Supporting Document.
        call: trust-hub-supportingdocuments.updatesupportingdocument
        with:
          Sid: rest.Sid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletesupportingdocument
        description: Delete a specific Supporting Document.
        call: trust-hub-supportingdocuments.deletesupportingdocument
        with:
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: trust-hub-supportingdocuments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twilio - Trusthub — SupportingDocuments. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-new-supporting-document
      description: Create a new Supporting Document.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: trust-hub-supportingdocuments.createsupportingdocument
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-list-all-supporting-document
      description: Retrieve a list of all Supporting Document for an account.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: trust-hub-supportingdocuments.listsupportingdocument
      with:
        PageSize: tools.PageSize
        Page: tools.Page
        PageToken: tools.PageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: fetch-specific-supporting-document-instance
      description: Fetch specific Supporting Document Instance.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: trust-hub-supportingdocuments.fetchsupportingdocument
      with:
        Sid: tools.Sid
      outputParameters:
      - type: object
        mapping: $.
    - name: update-existing-supporting-document
      description: Update an existing Supporting Document.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: trust-hub-supportingdocuments.updatesupportingdocument
      with:
        Sid: tools.Sid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-specific-supporting-document
      description: Delete a specific Supporting Document.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: trust-hub-supportingdocuments.deletesupportingdocument
      with:
        Sid: tools.Sid
      outputParameters:
      - type: object
        mapping: $.