# Workflow trigger from API

**URL:** <https://community.hubspot.com/t/workflow-trigger-from-api/98434>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [January 23, 2024, 2:47pm UTC](https://community.hubspot.com/t/workflow-trigger-from-api/98434 "2024-01-23T14:47:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PKumar274](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@PKumar274](https://community.hubspot.com/u/PKumar274)\
**Post date:** [January 23, 2024, 2:47pm UTC](https://community.hubspot.com/t/workflow-trigger-from-api/98434/1 "2024-01-23T14:47:02Z")

</div>

Hi team,  
we need to trigger the workflow from API.  
last time we tried and got succeed but now not working, can you please give me your support to achieve that features .  
sample workflow:- [Automation UI Canvas](https://app.hubspot.com/workflows/39671044/platform/flow/555202614/edit)  
API end point and URL:-  
[https://api.hubapi.com/automation/v2/workflows/555202614/enrollments/contacts/praveen.d@valorpaytech.com](https://api.hubapi.com/automation/v2/workflows/555202614/enrollments/contacts/praveen.d@valorpaytech.com)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 24, 2024, 5:00pm UTC](https://community.hubspot.com/t/workflow-trigger-from-api/98434/2 "2024-01-24T17:00:25Z")

</div>

Hi there. Thanks for your question. The community nor myself can access your workflow link because it requires access to your portal. Question — is the issue you’re having that you cannot enroll or re-enroll a contact into a specific Workflow using the endpoint — [Enroll a contact into a workflow](https://legacydocs.hubspot.com/docs/methods/workflows/add_contact)? Can you share the response along with the error code you received, please?

Thank you for the additional details! — Jaycee
