Advanced

Retrieve revision

Changed on

Retrieve a specific revision of an automation flow using its flow ID and revision ID. This endpoint is useful for accessing historical versions of a flow to review changes or restore previous configurations.

get/automation/2026-09-beta/flows/{flowId}/revisions/{revisionId}

Request

  • Base URL
    https://api.hubapi.com
  • Auth
    • OAuth 2
      Authorization codehttps://app.hubspot.com/oauth/authorize
      Token URLhttps://api.hubapi.com/oauth/v1/token
      Scopesautomation
    • or OAuth 2
      Authorization codehttps://app.hubspot.com/oauth/authorize
      Token URLhttps://api.hubapi.com/oauth/v1/token
      Scopesworkflows.write
    • or OAuth 2
      Authorization codehttps://app.hubspot.com/oauth/authorize
      Token URLhttps://api.hubapi.com/oauth/v1/token
      Scopesworkflows.delete
    • or OAuth 2
      Authorization codehttps://app.hubspot.com/oauth/authorize
      Token URLhttps://api.hubapi.com/oauth/v1/token
      Scopesworkflows.read

Path parameters

flowIdstring required
revisionIdstring required

Response

successful operation

idstring required

The flow's ID

revisionCreatedAtstring date-time required

The timestamp this revision was created.

revisionIdstring required

The revision of this flow

Changes

  • 2026-09-beta6ee0f25fe1eeRevision changes
    • info

      the security scope automation was added to the endpoint's security scheme oauth2

    • info

      the security scope workflows.read was removed from the endpoint's security scheme oauth2

  • 2026-09-betabf0e045cbe0fRevision changes
    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status