SendGrid Templates
Manage Twilio SendGrid transactional templates.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| API Key | api_key | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "SENDGRID_TEMPLATES_ACTIVATE_TEMPLATE_VERSION", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("SENDGRID_TEMPLATES_ACTIVATE_TEMPLATE_VERSION", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute SENDGRID_TEMPLATES_ACTIVATE_TEMPLATE_VERSION --data '{ }'Tool 目录
可用 Tools
11 个可调用操作
Activate a transactional template version.SENDGRID_TEMPLATES_ACTIVATE_TEMPLATE_VERSION**This endpoint allows you to activate a version of one of your templates.**需要连接
**This endpoint allows you to activate a version of one of your templates.**
认证
需要 Connected AccountTags
Create a transactional template.SENDGRID_TEMPLATES_CREATE_TEMPLATE**This endpoint allows you to create a transactional template.**需要连接
**This endpoint allows you to create a transactional template.**
认证
需要 Connected AccountTags
Create a new transactional template version.SENDGRID_TEMPLATES_CREATE_TEMPLATE_VERSION**This endpoint allows you to create a new version of a template.**需要连接
**This endpoint allows you to create a new version of a template.**
认证
需要 Connected AccountTags
Delete a template.SENDGRID_TEMPLATES_DELETE_TEMPLATE**This endpoint allows you to delete a transactional template.**需要连接
**This endpoint allows you to delete a transactional template.**
认证
需要 Connected AccountTags
Delete a transactional template version.SENDGRID_TEMPLATES_DELETE_TEMPLATE_VERSION**This endpoint allows you to delete a transactional template version.**需要连接
**This endpoint allows you to delete a transactional template version.**
认证
需要 Connected AccountTags
Duplicate a transactional template.SENDGRID_TEMPLATES_DUPLICATE_TEMPLATE**This endpoint allows you to duplicate a transactional template.**需要连接
**This endpoint allows you to duplicate a transactional template.**
认证
需要 Connected AccountTags
Retrieve a single transactional template.SENDGRID_TEMPLATES_GET_TEMPLATE**This endpoint allows you to retrieve a single transactional template.**需要连接
**This endpoint allows you to retrieve a single transactional template.**
认证
需要 Connected AccountTags
Retrieve a specific transactional template version.SENDGRID_TEMPLATES_GET_TEMPLATE_VERSION**This endpoint allows you to retrieve a specific version of a template.**需要连接
**This endpoint allows you to retrieve a specific version of a template.**
认证
需要 Connected AccountTags
Retrieve paged transactional templates.SENDGRID_TEMPLATES_LIST_TEMPLATE**This endpoint allows you to retrieve all transactional templates.**需要连接
**This endpoint allows you to retrieve all transactional templates.**
认证
需要 Connected AccountTags
Edit a transactional template.SENDGRID_TEMPLATES_UPDATE_TEMPLATE**This endpoint allows you to edit the name of a transactional template.** To edit the template itself, [create a new transactional template version](https://docs.sendgrid.com/api-reference/transactional-templates-versions/create-a-new-transactional-template-version).需要连接
**This endpoint allows you to edit the name of a transactional template.** To edit the template itself, [create a new transactional template version](https://docs.sendgrid.com/api-reference/transactional-templates-versions/create-a-new-transactional-template-version).
认证
需要 Connected AccountTags
Edit a transactional template version.SENDGRID_TEMPLATES_UPDATE_TEMPLATE_VERSION**This endpoint allows you to edit the content of your template version.**需要连接
**This endpoint allows you to edit the content of your template version.**
认证
需要 Connected AccountTags