Phrases
Create or update a batch of phrases
Upserts an array of phrases in one authenticated request and returns the resulting array in input order. Each row emits its own created or updated webhook event. Requires the phrases:write scope. Send Idempotency-Key to make retries safe for 24 hours.
post/api/v1/phrases/batch
Request
- Base URL: https://api.multilocale.com
- URL: https://api.multilocale.com/api/v1/phrases/batch
- Auth: one of:
- HTTP basic
- API key in header Authorization
- OAuth 2 (authorization code, authorization URL https://app.multilocale.com/oauth/authorize, token URL https://api.authrice.com/api/oauth/token, scopes: phrases:write)
Headers
Idempotency-Keystring
Unique retry key retained for 24 hours (maximum 255 characters)
Request body
Example request
[
{
"key": "welcome_message",
"value": "Welcome",
"language": "en"
}
]Response
The upserted phrases in input order
Example response
[
{
"key": "welcome_message",
"value": "Welcome",
"language": "en"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.