Fix a lead before it is dialled
PATCH
https://server.heyrik.com/api/v1/campaigns/{id}/contacts/{contactId}Path parameters
idRequiredReplace {id} in the request URL with the value for this resource.
contactIdRequiredReplace {contactId} 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.
phonestringCorrected number.
variablesobjectFields to set; send "" or null for a field to remove it.
prioritynumberHigher dials sooner.
Response
No response example is documented for this operation yet.
Error referencePATCH/campaigns/{id}/contacts/{contactId}
cURL
curl -X PATCH https://server.heyrik.com/api/v1/campaigns/cmp_4a19/contacts/cct_9b1e \
-H "Authorization: Bearer $HEYRIK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "phone": "+919876543210", "variables": { "name": "Ravi Kumar" } }'Illustrative examples · No live request is sent
