naftiko: 1.0.0-alpha2 info: label: Twilio SendGrid Marketing Campaigns Single Sends API — Single Sends description: 'Twilio SendGrid Marketing Campaigns Single Sends API — Single Sends. 11 operations. Lead operation: Create Single Send. Self-contained Naftiko capability covering one Sendgrid business surface.' tags: - Sendgrid - Single Sends created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SENDGRID_API_KEY: SENDGRID_API_KEY capability: consumes: - type: http namespace: tsg_mc_singlesends_v3-single-sends baseUri: https://api.sendgrid.com description: Twilio SendGrid Marketing Campaigns Single Sends API — Single Sends business capability. Self-contained, no shared references. resources: - name: v3-marketing-singlesends path: /v3/marketing/singlesends operations: - name: createsinglesend method: POST description: Create Single Send outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listsinglesend method: GET description: Get All Single Sends outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page_size in: query type: integer - name: page_token in: query type: string - name: deletesinglesends method: DELETE description: Bulk Delete Single Sends outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ids in: query type: array description: Single Send IDs to delete - name: v3-marketing-singlesends-categories path: /v3/marketing/singlesends/categories operations: - name: listcategory method: GET description: Get All Categories outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v3-marketing-singlesends-search path: /v3/marketing/singlesends/search operations: - name: searchsinglesend method: POST description: Get Single Sends Search outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page_size in: query type: integer - name: page_token in: query type: string - name: body in: body type: object description: Request body (JSON). required: false - name: v3-marketing-singlesends-id path: /v3/marketing/singlesends/{id} operations: - name: duplicatesinglesend method: POST description: Duplicate Single Send outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: updatesinglesend method: PATCH description: Update Single Send outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: getsinglesend method: GET description: Get Single Send by ID outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletesinglesend method: DELETE description: Delete Single Send by ID outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v3-marketing-singlesends-id-schedule path: /v3/marketing/singlesends/{id}/schedule operations: - name: schedulesinglesend method: PUT description: Schedule Single Send outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deletescheduledsinglesend method: DELETE description: Delete Single Send Schedule outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SENDGRID_API_KEY}}' exposes: - type: rest namespace: tsg_mc_singlesends_v3-single-sends-rest port: 8080 description: REST adapter for Twilio SendGrid Marketing Campaigns Single Sends API — Single Sends. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/marketing/singlesends name: v3-marketing-singlesends description: REST surface for v3-marketing-singlesends. operations: - method: POST name: createsinglesend description: Create Single Send call: tsg_mc_singlesends_v3-single-sends.createsinglesend with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listsinglesend description: Get All Single Sends call: tsg_mc_singlesends_v3-single-sends.listsinglesend with: page_size: rest.page_size page_token: rest.page_token outputParameters: - type: object mapping: $. - method: DELETE name: deletesinglesends description: Bulk Delete Single Sends call: tsg_mc_singlesends_v3-single-sends.deletesinglesends with: ids: rest.ids outputParameters: - type: object mapping: $. - path: /v1/v3/marketing/singlesends/categories name: v3-marketing-singlesends-categories description: REST surface for v3-marketing-singlesends-categories. operations: - method: GET name: listcategory description: Get All Categories call: tsg_mc_singlesends_v3-single-sends.listcategory outputParameters: - type: object mapping: $. - path: /v1/v3/marketing/singlesends/search name: v3-marketing-singlesends-search description: REST surface for v3-marketing-singlesends-search. operations: - method: POST name: searchsinglesend description: Get Single Sends Search call: tsg_mc_singlesends_v3-single-sends.searchsinglesend with: page_size: rest.page_size page_token: rest.page_token body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v3/marketing/singlesends/{id} name: v3-marketing-singlesends-id description: REST surface for v3-marketing-singlesends-id. operations: - method: POST name: duplicatesinglesend description: Duplicate Single Send call: tsg_mc_singlesends_v3-single-sends.duplicatesinglesend with: body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: updatesinglesend description: Update Single Send call: tsg_mc_singlesends_v3-single-sends.updatesinglesend with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getsinglesend description: Get Single Send by ID call: tsg_mc_singlesends_v3-single-sends.getsinglesend outputParameters: - type: object mapping: $. - method: DELETE name: deletesinglesend description: Delete Single Send by ID call: tsg_mc_singlesends_v3-single-sends.deletesinglesend outputParameters: - type: object mapping: $. - path: /v1/v3/marketing/singlesends/{id}/schedule name: v3-marketing-singlesends-id-schedule description: REST surface for v3-marketing-singlesends-id-schedule. operations: - method: PUT name: schedulesinglesend description: Schedule Single Send call: tsg_mc_singlesends_v3-single-sends.schedulesinglesend with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletescheduledsinglesend description: Delete Single Send Schedule call: tsg_mc_singlesends_v3-single-sends.deletescheduledsinglesend outputParameters: - type: object mapping: $. - type: mcp namespace: tsg_mc_singlesends_v3-single-sends-mcp port: 9090 transport: http description: MCP adapter for Twilio SendGrid Marketing Campaigns Single Sends API — Single Sends. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-single-send description: Create Single Send hints: readOnly: false destructive: false idempotent: false call: tsg_mc_singlesends_v3-single-sends.createsinglesend with: body: tools.body outputParameters: - type: object mapping: $. - name: get-all-single-sends description: Get All Single Sends hints: readOnly: true destructive: false idempotent: true call: tsg_mc_singlesends_v3-single-sends.listsinglesend with: page_size: tools.page_size page_token: tools.page_token outputParameters: - type: object mapping: $. - name: bulk-delete-single-sends description: Bulk Delete Single Sends hints: readOnly: false destructive: true idempotent: true call: tsg_mc_singlesends_v3-single-sends.deletesinglesends with: ids: tools.ids outputParameters: - type: object mapping: $. - name: get-all-categories description: Get All Categories hints: readOnly: true destructive: false idempotent: true call: tsg_mc_singlesends_v3-single-sends.listcategory outputParameters: - type: object mapping: $. - name: get-single-sends-search description: Get Single Sends Search hints: readOnly: true destructive: false idempotent: false call: tsg_mc_singlesends_v3-single-sends.searchsinglesend with: page_size: tools.page_size page_token: tools.page_token body: tools.body outputParameters: - type: object mapping: $. - name: duplicate-single-send description: Duplicate Single Send hints: readOnly: false destructive: false idempotent: false call: tsg_mc_singlesends_v3-single-sends.duplicatesinglesend with: body: tools.body outputParameters: - type: object mapping: $. - name: update-single-send description: Update Single Send hints: readOnly: false destructive: false idempotent: true call: tsg_mc_singlesends_v3-single-sends.updatesinglesend with: body: tools.body outputParameters: - type: object mapping: $. - name: get-single-send-id description: Get Single Send by ID hints: readOnly: true destructive: false idempotent: true call: tsg_mc_singlesends_v3-single-sends.getsinglesend outputParameters: - type: object mapping: $. - name: delete-single-send-id description: Delete Single Send by ID hints: readOnly: false destructive: true idempotent: true call: tsg_mc_singlesends_v3-single-sends.deletesinglesend outputParameters: - type: object mapping: $. - name: schedule-single-send description: Schedule Single Send hints: readOnly: false destructive: false idempotent: true call: tsg_mc_singlesends_v3-single-sends.schedulesinglesend with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-single-send-schedule description: Delete Single Send Schedule hints: readOnly: false destructive: true idempotent: true call: tsg_mc_singlesends_v3-single-sends.deletescheduledsinglesend outputParameters: - type: object mapping: $.