cURL
curl --request POST \ --url https://api.wellapp.ai/v1/people/{peopleId}/relationships/companies \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "data": [ { "type": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "meta": { "relationship_type": "contact" } } ] } '
{ "data": [ { "type": "company", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ], "included": [ { "type": "company", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "attributes": { "name": "<string>", "description": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } } ] }
Link existing companies to a person
Bearer token for authentication
UUID of the person to link companies to
Show child attributes
"company"
UUID of the existing company to link
Type of relationship with the company
contact
employee
owner
other
Companies successfully linked to person