Operations

Return list of hooks

curl -X GET -u {API_USER_ID}:{API_PASSWORD} "https://e1.envoke.com/v1/hooks"


Return a hook

Provide ID.

curl -X GET -u {API_USER_ID}:{API_PASSWORD} "https://e1.envoke.com/v1/hooks/{ID}"


Create a hook

Example data with Zapier endpoint, "consent_change" type.

curl -X POST -u {API_USER_ID}:{API_PASSWORD} -d "{\"url\":\"https://hooks.zapier.com/hooks/standard/1234/c739af1508294c6fa791f8a287cf8b8b/\",\"type\":\"consent_change\"}" "https://e1.envoke.com/v1/hooks"


Remove a hook

Provide ID.

curl -X DELETE -u {API_USER_ID}:{API_PASSWORD} "https://e1.envoke.com/v1/hooks/{ID}"



Hook types

new_lead
new_contact
submission
form_submission
passed_to_sales
lead_update
new_opportunity
new_sale

Upcoming


consent_change (<- Not yet live)


Hook type "consent_change"

Data provided is the contact data object. See contact API docs for examples and field mapping.

Did this answer your question?