Comments & Suggestions
Create comment
Changed onCreates a new comment for a given key and language.
The Authorization header with a Personal Access Token is required — comments are always attributed to the authenticated user and require write access to the target language.
post/api/v1/comments
Request
- Base URLhttps://api.simplelocalize.io
- Auth
- API key in header X-SimpleLocalize-Token
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-SimpleLocalize-Tokenstring required
Project API Key
Authorizationstring required
Personal Access Token
Request body
Example request
{
"namespace": "common",
"key": "welcome-message",
"language": "en",
"content": "Can we double check this translation?"
}Response
OK
Changes
- info
endpoint added
- info