---
title: "Get Message Template"
method: GET
path: "/v1/ai/message_template"
---

# Get Message Template

`GET /v1/ai/message_template`

Get a message template for an AI agent

## Query parameters

- `language` 'javascript'
- `use_environment_variables` boolean
- `customer_id` string, required

## Response `200`

Successful response

- object
  - `language` string, required
  - `template` string, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Not found
- `500` — Internal server error

## Changes

- **2025-08-26** `8939526af685` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openintegrations/apis/openint-api/changes/v1/ai/message_template/get.md)

---

[API](https://skmtc.dev/openintegrations/apis/openint-api.md) · [All operations](https://skmtc.dev/openintegrations/apis/openint-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintegrations/openint-api/revisions/1b84cd7f5c05/schema)
