SendGrid · Capability

Twilio SendGrid Account Provisioning API — Offering

Twilio SendGrid Account Provisioning API — Offering. 3 operations. Lead operation: Get account offerings. Self-contained Naftiko capability covering one Sendgrid business surface.

Run with Naftiko SendgridOffering

What You Can Do

GET
Listaccountoffering — Get account offerings
/v1/v3/partners/accounts/{accountid}/offerings
PUT
Updateaccountoffering — Update account offerings
/v1/v3/partners/accounts/{accountid}/offerings
GET
Listoffering — Get all available offerings
/v1/v3/partners/offerings

MCP Tools

get-account-offerings

Get account offerings

read-only idempotent
update-account-offerings

Update account offerings

idempotent
get-all-available-offerings

Get all available offerings

read-only idempotent

Capability Spec

tsg_account_provisioning_v3-offering.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio SendGrid Account Provisioning API — Offering
  description: 'Twilio SendGrid Account Provisioning API — Offering. 3 operations. Lead operation: Get account offerings.
    Self-contained Naftiko capability covering one Sendgrid business surface.'
  tags:
  - Sendgrid
  - Offering
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SENDGRID_API_KEY: SENDGRID_API_KEY
capability:
  consumes:
  - type: http
    namespace: tsg_account_provisioning_v3-offering
    baseUri: https://api.sendgrid.com
    description: Twilio SendGrid Account Provisioning API — Offering business capability. Self-contained, no shared references.
    resources:
    - name: v3-partners-accounts-accountID-offerings
      path: /v3/partners/accounts/{accountID}/offerings
      operations:
      - name: listaccountoffering
        method: GET
        description: Get account offerings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateaccountoffering
        method: PUT
        description: Update account offerings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v3-partners-offerings
      path: /v3/partners/offerings
      operations:
      - name: listoffering
        method: GET
        description: Get all available offerings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.SENDGRID_API_KEY}}'
  exposes:
  - type: rest
    namespace: tsg_account_provisioning_v3-offering-rest
    port: 8080
    description: REST adapter for Twilio SendGrid Account Provisioning API — Offering. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/v3/partners/accounts/{accountid}/offerings
      name: v3-partners-accounts-accountid-offerings
      description: REST surface for v3-partners-accounts-accountID-offerings.
      operations:
      - method: GET
        name: listaccountoffering
        description: Get account offerings
        call: tsg_account_provisioning_v3-offering.listaccountoffering
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateaccountoffering
        description: Update account offerings
        call: tsg_account_provisioning_v3-offering.updateaccountoffering
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/partners/offerings
      name: v3-partners-offerings
      description: REST surface for v3-partners-offerings.
      operations:
      - method: GET
        name: listoffering
        description: Get all available offerings
        call: tsg_account_provisioning_v3-offering.listoffering
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tsg_account_provisioning_v3-offering-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twilio SendGrid Account Provisioning API — Offering. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-account-offerings
      description: Get account offerings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tsg_account_provisioning_v3-offering.listaccountoffering
      outputParameters:
      - type: object
        mapping: $.
    - name: update-account-offerings
      description: Update account offerings
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: tsg_account_provisioning_v3-offering.updateaccountoffering
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-all-available-offerings
      description: Get all available offerings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tsg_account_provisioning_v3-offering.listoffering
      outputParameters:
      - type: object
        mapping: $.