cURL
curl --request PUT \ --url https://api.recepta.ai/api/v1/api/contacts/{clientId} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "firstName": "<string>", "lastName": "<string>", "email": "<string>", "phone": "<string>", "tags": [ "<string>" ], "status": "<string>", "notes": "<string>", "customFields": {} } '
{ "success": true, "data": { "client": { "id": "697929d5ebccbcca5cdaf13b", "firstName": "Jane", "lastName": "Doe", "fullName": "Jane Doe", "email": "jane@example.com", "phone": "+15551234567", "source": "API", "tags": [ "lead", "website" ], "status": "active", "notes": "Interested in premium plan", "company_name": "Acme Corp", "address": "<string>", "city": "<string>", "state": "<string>", "zipCode": "<string>", "country": "<string>", "customFields": { "referralSource": "google" }, "isActive": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } } }
Update fields on an existing contact. Only send the fields you want to change. Permission: contacts:update
contacts:update
Your Recepta API key (starts with rcp_)
rcp_
Contact ID
Contact updated
true
Show child attributes