# Retrieve Sequence Endpoint Not Returning emailPattern Attribute

**URL:** <https://community.hubspot.com/t/retrieve-sequence-endpoint-not-returning-emailpattern-attribute/161493>\
**Category:** APIs & Integrations\
**Tags:** enterprise\
**Created:** [October 9, 2026, 11:32pm UTC](https://community.hubspot.com/t/retrieve-sequence-endpoint-not-returning-emailpattern-attribute/161493 "2026-10-09T23:32:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MJohnson59](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@MJohnson59](https://community.hubspot.com/u/MJohnson59)\
**Post date:** [October 9, 2026, 11:32pm UTC](https://community.hubspot.com/t/retrieve-sequence-endpoint-not-returning-emailpattern-attribute/161493/1 "2026-10-09T23:32:08Z")

</div>

Hi guys, when using the[Retrieve Sequence endpoint](https://developers.hubspot.com/docs/api-reference/latest/automation/sequences/retrieve-sequence) the documentation specifies that an emailPattern attribute should be returned if the actionType = EMAIL. However in my testing this is not the case. Am I doing something wrong?

```auto
curl -i --request GET \
  --url https://api.hubapi.com/automation/sequences/2026-09/serviceaccounts/sequences/310649634 \
  --header 'Authorization: Bearer TOKEN'

```

Response:

```auto
HTTP/2 200 
date: Fri, 09 Oct 2026 23:31:48 GMT
content-type: application/json;charset=utf-8
cf-ray: a4812e50fe9c2d5a-LAX
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=uikqUPjJ_yPqGKeUVEOT9KXjFELd5geGabpLUFYgEoE-1791588708.0010424-1.0.1.1-h.6lwwMvhD5874fnX41Cv7ffvBLHNWzMCPNuyZ6bpxiSEBNcppjxx5LuG7QAMdKwoCY7x_kmel9DygMIceHbJpMKBNpesYgf.4hR2m1gGfQNwhj6utHyACWi5rHl6ACS; HttpOnly; SameSite=None; Secure; Path=/; Domain=hubapi.com; Expires=Sat, 10 Oct 2026 00:01:48 GMT
server: cloudflare
strict-transport-security: max-age=31536000; includeSubDomains; preload
vary: origin, accept-encoding
nel: {"report_to":"cf-nel","success_fraction":0.01,"max_age":604800}
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=jIKdNEaSGnvmObT3%2FULX3dDEsKcgc0q%2F4P5v2MP6CINiS2Vf6UWiQka89mAIAgx2e0WilgedRlBvGD7CywoJPgmghLryJ8egGwQo%2BfQoTh0y%2FZheWsiwIXGaiUSiwFDQ"}]}
access-control-allow-credentials: false
server-timing: hcid;desc="01a12302-2f46-78ad-bd4d-7d07e94117ef", cfr;desc="a4812e51bf432d5a-IAD"
x-content-type-options: nosniff
x-hubspot-correlation-id: 01a12302-2f46-78ad-bd4d-7d07e94117ef
x-hubspot-ratelimit-daily: 1000000
x-hubspot-ratelimit-daily-remaining: 989258
x-hubspot-ratelimit-interval-milliseconds: 10000
x-hubspot-ratelimit-max: 190
x-hubspot-ratelimit-remaining: 189
x-hubspot-ratelimit-secondly: 19
x-hubspot-ratelimit-secondly-remaining: 18

{"id":"310649634","name":"MTG - Winback - 90 Day Churn","createdAt":"2026-09-02T03:45:07.139Z","updatedAt":"2026-09-02T03:58:19.855Z","userId":"94193660","steps":[{"id":"432598948","stepOrder":0,"delayMillis":0,"actionType":"EMAIL","createdAt":"2026-09-02T03:58:19.855Z","updatedAt":"2026-09-02T03:58:19.855Z"},{"id":"432598949","stepOrder":1,"delayMillis":86400000,"actionType":"EMAIL","createdAt":"2026-09-02T03:58:19.855Z","updatedAt":"2026-09-02T03:58:19.855Z"},{"id":"432598950","stepOrder":2,"delayMillis":86400000,"actionType":"EMAIL","createdAt":"2026-09-02T03:58:19.855Z","updatedAt":"2026-09-02T03:58:19.855Z"},{"id":"432598951","stepOrder":3,"delayMillis":86400000,"actionType":"EMAIL","createdAt":"2026-09-02T03:58:19.855Z","updatedAt":"2026-09-02T03:58:19.855Z"},{"id":"432598952","stepOrder":4,"delayMillis":86400000,"actionType":"EMAIL","createdAt":"2026-09-02T03:58:19.855Z","updatedAt":"2026-09-02T03:58:19.855Z"},{"id":"432598953","stepOrder":5,"delayMillis":0,"actionType":"FINISH_ENROLLMENT","createdAt":"2026-09-02T03:58:19.855Z","updatedAt":"2026-09-02T03:58:19.855Z"}],"settings":{"id":"31349634","eligibleFollowUpDays":"BUSINESS_DAYS","sellingStrategy":"LEAD_BASED","sendWindowStartMinute":480,"sendWindowEndMinute":1410,"taskReminderMinute":480,"individualTaskRemindersEnabled":false,"createdAt":"2026-09-02T03:58:19.855Z","updatedAt":"2026-09-02T03:58:19.855Z"}}

```

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [October 12, 2026, 10:52am UTC](https://community.hubspot.com/t/retrieve-sequence-endpoint-not-returning-emailpattern-attribute/161493/3 "2026-10-12T10:52:23Z")

</div>

Hi @MJohnson59, I hope that you are well!

Thanks for asking the HubSpot Community and for sharing the API link, that’s useful!

According to the documented response schema for [Retrieve a sequence](https://developers.hubspot.com/docs/api-reference/legacy/automation/sequences/get-sequence), the `emailPattern` property is defined as an object (`type: object`) but isn’t marked as required (`required: true`).

This means that `emailPattern` is an optional field and will only be included in the response when available, rather than being guaranteed for every step with an **`EMAIL`** action type.

I’d love to hear from our Top Experts: Hi @Anton, @evaldas and @zach_threadint are you experiencing the same with this endpoint, please? Do you have suggestions to help @MJohnson59?

If you see the same, I’ll investigate interanlly.

Thanks so much and wishing you a great day!

Bérangère
