---
title: "Translate a caption for the multi-language composer"
method: POST
path: "/api/posts/translate"
---

# Translate a caption for the multi-language composer

`POST /api/posts/translate`

## Request

- Base URL: `https://api.seenpaid.com`
- URL: `https://api.seenpaid.com/api/posts/translate`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.seenpaid.com/authorize`, token URL `https://api.seenpaid.com/token`, scopes: `posts:write`)

Translate a caption into one target language, respecting an optional platform character limit. Never throws for an unconfigured LLM — returns `{configured:false}` instead.

## Request body

- object
  - `text` string, required
  - `language` string, required
  - `charLimit` integer

## Response `200`

OK

- object
  - `success` true
  - `data` object
    - `configured` boolean
    - `translated` string

## Other responses

- `400`: Request body failed Zod validation.
- `401`: Missing or invalid credential (API key or OAuth token).

---

[API](https://skmtc.dev/seenpaid/apis/seenpaid-api.md) · [All operations](https://skmtc.dev/seenpaid/apis/seenpaid-api/llms.txt) · [OpenAPI document](https://skmtc.dev/seenpaid/apis/seenpaid-api/revisions/7b3f72ed82e9?raw)
