> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.revvue.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.revvue.ai/_mcp/server.

# sendChatTemplate

GraphQL MUTATION

Reference: https://docs.revvue.ai/api-reference/inbox/mutations/send-chat-template

## GraphQL Schema

```graphql
mutation ExampleMutation($ticketId: UUID!, $template: ChatTemplateInput!, $replyMessageId: String, $actorType: ActorType!, $displayName: String) {
  sendChatTemplate(ticketId: $ticketId, template: $template, replyMessageId: $replyMessageId, actorType: $actorType, displayName: $displayName) {
    typename__
    id
    tenantId
    eventTime
    created
    changed
    createdBy
    changedBy
    activeState
    account
  }
}
```

## Variables

```json
{
  "ticketId": "example",
  "template": {
    "name": "example",
    "language": "example",
    "bodyValues": [
      "example"
    ],
    "headerText": "example",
    "buttons": [
      {
        "type": "example",
        "value": "example"
      }
    ]
  },
  "replyMessageId": null,
  "actorType": "USER",
  "displayName": null
}
```