There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API keys are no longer a supported authentication method for accessing HubSpot APIs. Instead, you should use a private app access token or OAuth to authenticate API calls. Learn more about this change and how to migrate an API key integration to use a private app instead.

Current enrollment

Last updated May 22, 2023

GET /automation/v2/workflows/enrollments/contacts/:vid

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

Get workflows a contact is currently enrolled in.

This is particularly useful for integrations that take contact data and display them in a different interface.

Required Parameters How to use Description
OAuth Access Token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.
Contact VID Used in the request URL The VID of the contact in question.
Optional Parameters How to use Description
None None No optional parameters for this method.

Example URL:  https://api.hubapi.com/automation/v2/workflows/enrollments/contacts/2637