English
cURL
curl --request POST \ --url https://api.phrase.com/v2/projects/{project_id}/keys/{id}/key_links \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "child_key_ids": [ "child_key_id1", "child_key_id2" ] }'
{ "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "created_by": null, "updated_by": null, "account": { "id": "abcd1234", "name": "Company Account", "slug": "company_account", "company": "My Awesome Company", "created_at": "2015-01-28T09:52:53Z", "updated_at": "2015-01-28T09:52:53Z", "company_logo_url": "http://assets.example.com/company_logo.png" }, "parent": null, "children": [ null ] }
Creates links between a given parent key and one or more child keys.
Enter your token in the format token TOKEN
token TOKEN
Two-Factor-Authentication token (optional)
Project ID
Parent Translation Key ID
Created
The response is of type object.
object
Was this page helpful?