There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.

Get workflow

Last updated February 16, 2022

GET /automation/v3/workflows/:workflowId

Note: The Workflows API currently only supports contact-based workflows.

Method Details

HTTP Methods:


Response Format:


Requires Authentication?


Rate Limited?






Returns metadata for a workflow, including the starting conditions and workflow steps. Workflow IDs can be found by using the get all workflows endpoint.

When using this API, only certain actions are supported. If unsupported actions are included, the action type returned will be UNSUPPORTED_ACTION. For a list of supported actions, refer to the Supported Actions table

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
Workflow ID Used in the request URL The ID of the workflow you wish to see metadata for.
Optional Parameters How to use Description
errors=true Used in the request URL includes coded workflow validation errors and warnings at various points throughout the workflow structure.
stats=true Used in the request URL includes the number of contacts enrolled, active, completed and that have joined the goal list within the metaData object; also includes the CTR of email actions in the workflow within those action objects as a "clickThroughRatio” field

Example URL to GET: