AI
Add AI Snippet
Required scopes: ai.prompt (Read and Write).
post/users/{userId}/ai/settings/snippets
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdinteger required
User Identifier
Request body
Example request
{
"description": "Product description",
"placeholder": "%custom:productDescription%",
"value": "The product is the professional consulting service that transform challenges into opportunities."
}Response
AI Snippet was added successfully
Example response
{
"data": {
"id": 2,
"description": "Product description",
"placeholder": "%custom:productDescription%",
"value": "The product is the professional consulting service that transform challenges into opportunities.",
"createdAt": "2019-09-20T11:11:05+00:00",
"updatedAt": "2019-09-20T12:22:20+00:00"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.