Twilio · Capability

Twilio SendGrid Email API — Senders

Twilio SendGrid Email API — Senders. 2 operations. Lead operation: Twilio List Verified Senders. Self-contained Naftiko capability covering one Twilio business surface.

Run with Naftiko TwilioSenders

What You Can Do

GET
Listverifiedsenders — Twilio List Verified Senders
/v1/verified-senders
POST
Createverifiedsender — Twilio Create a Verified Sender
/v1/verified-senders

MCP Tools

twilio-list-verified-senders

Twilio List Verified Senders

read-only idempotent
twilio-create-verified-sender

Twilio Create a Verified Sender

Capability Spec

sendgrid-senders.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio SendGrid Email API — Senders
  description: 'Twilio SendGrid Email API — Senders. 2 operations. Lead operation: Twilio List Verified Senders. Self-contained
    Naftiko capability covering one Twilio business surface.'
  tags:
  - Twilio
  - Senders
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: sendgrid-senders
    baseUri: https://api.sendgrid.com/v3
    description: Twilio SendGrid Email API — Senders business capability. Self-contained, no shared references.
    resources:
    - name: verified_senders
      path: /verified_senders
      operations:
      - name: listverifiedsenders
        method: GET
        description: Twilio List Verified Senders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createverifiedsender
        method: POST
        description: Twilio Create a Verified Sender
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.TWILIO_API_KEY}}'
  exposes:
  - type: rest
    namespace: sendgrid-senders-rest
    port: 8080
    description: REST adapter for Twilio SendGrid Email API — Senders. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/verified-senders
      name: verified-senders
      description: REST surface for verified_senders.
      operations:
      - method: GET
        name: listverifiedsenders
        description: Twilio List Verified Senders
        call: sendgrid-senders.listverifiedsenders
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createverifiedsender
        description: Twilio Create a Verified Sender
        call: sendgrid-senders.createverifiedsender
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sendgrid-senders-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twilio SendGrid Email API — Senders. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: twilio-list-verified-senders
      description: Twilio List Verified Senders
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sendgrid-senders.listverifiedsenders
      outputParameters:
      - type: object
        mapping: $.
    - name: twilio-create-verified-sender
      description: Twilio Create a Verified Sender
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sendgrid-senders.createverifiedsender
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.