Link child keys to a parent key
Designates a translation key as a parent and links one or more child keys to it. Once linked, child keys receive a special reference marker as their translation content, signalling that their translations are derived from the parent. Use this when you want to group related keys — for example, a short label and its long-form variant — so translators see them in context together.
Pass an empty child_key_ids array to mark the key as a parent without linking any children yet. Both the parent key and every child key must belong to the main project; branch keys cannot participate in key links. A child key can have at most one parent at a time; attempting to link a child that already has a parent returns a 422 error with code CHILD_IS_ALREADY_LINKED. Parent and child key plurality must match — linking a plural child to a non-plural parent (or vice versa) also returns a 422.
Authorizations
Enter your token in the format token TOKEN
Headers
Two-Factor-Authentication token (optional)
Body
Codes of the keys to link as children. Pass an empty array to mark the parent key without linking any children.
Response
Key link reference created.
The timestamp when the link was created.
The timestamp when the link was last updated.
The user who created the link.
The user who last updated the link.
The account associated with the link.
The parent translation key in the link.
null
The child translation keys linked to the parent.