Message
Translate a message
Translate a message's content into the requested language.
get/messages/{message_id}/translate
Request
- Base URLhttps://api.your-domain.com
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
message_idinteger required
ID of the message to translate.
Query parameters
langstring required
Target language. Preferably RFC 5646 format.
cookie_namestring nullable
Response
Successful Response
Example response
{
"content": "Here is the translated content."
}Changes
No recorded changes to this operation across all 1 revision of this API.