We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Feb 12, 2018 12:32 PM
Hi,
I’m trying to enrol a created contact to an existing workflow.
I’m using the API with the endpoint:
https://api.hubapi.com/automation/v2/workflows/XXXXXXX/enrollments/contacts/aa@aa.com?hapikey=YYYY
Where X is the workflow ID, aa@aa.com is the contact email and Y the Api key.
I’m getting the error 405 and no response or error messages.
This is a POST request, should I include the CURLOPT_POSTFIELDS with an array with the params? If yes, what should be the structure?
Thank you.
Rodrigo
Feb 20, 2018 12:21 PM
That workflow doesn’t appear to exist. Is it possible that the workflow in question was deleted by accident?
Feb 13, 2018 3:08 PM
Can you send me a link to the workflow in question so that I can take a look? There aren’t any body parameters that need to be included for this endpoint.
Feb 14, 2018 4:58 AM
Hi Derek.
The link to the workflow is
https://app.hubspot.com/workflows/2451837/flow/2580798/edit
Thank you.