List the translatable strings in a file
Extracts translatable strings from a source or resource file. The file type comes from the filename extension (JSX/TSX, Vue, Svelte, HTML, Markdown, JSON, PO, YAML, XLIFF, Android XML, iOS strings, ARB, properties, CSV). Metered as localization.extract.
POST
/v1/localization/extractAuthorization
AuthorizationBearer token (JWT) · headerrequiredBearer API key issued for your account. Send Authorization: Bearer <key>.
Request body
requiredapplication/jsonfilenamestringrequiredcontentstringrequiredUp to 1 MiB.
Responses
200
Extracted strings
filenamestringrequiredcountintegerrequiredunitsobject[]requiredShow propertiesHide properties
Array of
objectkeystring | nulltextstringrequiredcontextstring | null400
Bad request
string401
Missing or invalid bearer token
string403
Billing or plan entitlement blocked the request
string