---
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

---

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