Chris_Reid
(Chris Reid)
January 10, 2023, 5:03pm
1
Requests I send to https://api.infusionsoft.com/crm/rest/v1/hooks only responds back with
{
"message": "Event Key Not Defined"
}
even though my request schema looks like this:
{
"eventKey": "arbitrary string",
"hookUrl": "<insert working URL here>"
}
Why am I getting this error?
TomScott
(Tom Scott)
January 10, 2023, 5:05pm
2
Good morning Chris!
Is the eventKey that you are passing as part of the request a valid entry from the list provided on this endpoint?
https://developer.infusionsoft.com/docs/rest/#operation/list_hook_event_types
Chris_Reid
(Chris Reid)
January 10, 2023, 6:34pm
3
Thank you for your response! I didn’t have the correct event type like you suggested. After I added a proper event key, I got the expected response back.