⚙ Operations Hub

JamesonC
Participant

Fetch sequence label from sequence Id

👋Hi there, 

 

Is it possible to fetch the sequence label using the Sequence id?

 

For internal tracking / reporting purposes, my team wants to automatically copy this sequence label every time it is updated into a custom property we've created called, "Last Sequence Enrolled - Name" with field type 'Single-line text'.

 

I can successfuly console.log the enrolled contact's "Last Sequence Enrolled" id, but unable to find API documentation on a path to make a request for returning the label by sequence id. Maybe I'm missing something?

 

Any help is greatly appreciated!

 

Thanks!

0 Upvotes
3 Replies 3
JamesonC
Participant

Fetch sequence label from sequence Id

Thanks @PamCotton, but I still can't find this in HubSpot's API documentation. Do you mind sending me the URL of the resource you're referring to, please? 

0 Upvotes
PamCotton
HubSpot Employee
HubSpot Employee

Fetch sequence label from sequence Id

Hey @JamesonC, thank you for posting in our Community.

 

Yes, you can fetch the sequence label using the sequence ID in HubSpot. Use the GET /automation/v3/sequence/{sequenceId} API endpoint.

 

To our top experts, @Anton and @DanielSanchez do you have any recommendations for @JamesonC matter?

 

Thank you,

Pam

0 Upvotes
matheus_jiran
Contributor | Elite Partner
Contributor | Elite Partner

Fetch sequence label from sequence Id

This Endpoint is not fully launched neither public yet, right?

 

I'm trying the GET, but only getting 404 error.

0 Upvotes