Message
Rephrase a message
Rephrase a message's content in the requested style.
get/messages/{message_id}/rephrase
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 rephrase.
Query parameters
style'same' | 'short' | 'long' required
Style of rephrasing: 'same' (same length), 'short' (shorter), or 'long' (longer)
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.