cURL
curl --request POST \ --url https://api.morphic.io/api/contacts/{contact_id}/deals \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "person_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "role": "<string>", "is_primary": false } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "deal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "person_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "role": "<string>", "is_primary": false, "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Associate a deal with a contact.
API key (sk_xxx) from Developer Settings. No X-Account-ID needed.
Schema for adding a person to a deal
Successful Response
Schema for deal-people link response