POST
/
icu
/
skeleton
cURL
curl "https://api.phrase.com/v2/icu/skeleton" \
  -u USERNAME_OR_ACCESS_TOKEN \
  -X POST \
  -d '{"content":"{number, plural, one {One} other {%{n}}}","locale_codes":["en"],"zero_form_enabled": true}' \
  -H 'Content-Type: application/json'
{
  "en": "{number, plural, one {} other {}}",
  "de": "{number, plural, one {} other {}}"
}

Authorizations

Authorization
string
header
required

Enter your token in the format token TOKEN

Headers

X-PhraseApp-OTP
string

Two-Factor-Authentication token (optional)

Body

application/json

Response

200
application/json

OK

The response is of type object.