Update a lead
PATCH
https://server.heyrik.com/api/v1/leads/{id}Path parameters
idRequiredReplace {id} in the request URL with the value for this resource.
Headers
AuthorizationstringRequiredUse Bearer $HEYRIK_API_KEY with an account-scoped API key. Keep the key on your server.
Parameters 3
Fields documented for this operation. See the request example for placement and structure.
name / phone / email / companystringAny of the core fields.
stagestringMoving stage here is recorded on the lead's timeline too.
customobjectExtra fields — become {{variables}} on a call.
Response
No response example is documented for this operation yet.
Error referencePATCH/leads/{id}
cURL
curl -X PATCH https://server.heyrik.com/api/v1/leads/lead_71a4 \
-H "Authorization: Bearer $HEYRIK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "company": "Acme Ltd", "custom": { "plan": "pro" } }'Illustrative examples · No live request is sent
