Crowdin Enterprise (String-Based) icon

Crowdin Enterprise (String-Based)

Interact with Crowdin Enterprise API for localization management

Actions361

AI → Add AI Snippet

AI-generated

Summary

Create a new AI snippet in Crowdin Enterprise by providing a unique description, a unique placeholder code, and the snippet's text value for use in AI prompts.

Inputs

  • Authentication — Select OAuth2 or Access Token for authentication (default is OAuth2).
  • Description (required) — Unique description of the AI snippet, between 3 and 255 characters.
  • Placeholder (required) — Unique placeholder starting with '%custom:' and ending with '%' with allowed characters (a-z, A-Z, 0-9, -), max 255 characters.
  • Value (required) — Text content of the snippet to be used in the prompt, up to 4000 characters.

Output shape

a single record containing the details of the created AI snippet

The response includes the newly created snippet's data from Crowdin. Errors occur if description or placeholder duplicates exist or values exceed specified constraints.

Examples

Example 1: Adding an AI snippet for product descriptions

Fill in the description field with a unique brief text, set the placeholder with a unique code matching the specified format, and provide the snippet text as the value.

Links

Discussion