Get Flow Action Messages
GET {{baseUrl}}/api/flow-actions/:id/flow-messages/
Get all flow messages associated with the given action ID.
Flow messages can be sorted by the following fields, in ascending and descending order:
ascending: id, name, created, updated
descending: -id, -name, -created, -updated
Returns a maximum of 50 flows per request, which can be paginated with offset pagination. Offset pagination uses the following parameters: page[size] and page[number]
Rate limits:
Burst: 3/s
Steady: 60/m
Scopes:
flows:read
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
fields[flow-message] | string | For more information please visit https://developers.klaviyo.com/en/v2023-09-15/reference/api-overview#sparse-fieldsets | |
filter | string | For more information please visit https://developers.klaviyo.com/en/v2023-09-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>id: any<br>name: contains, ends-with, equals, starts-with<br>created: equals, greater-or-equal, greater-than, less-or-equal, less-than<br>updated: equals, greater-or-equal, greater-than, less-or-equal, less-than | |
page[size] | number | Default: 50. Min: 1. Max: 100. | |
sort | string | For more information please visit https://developers.klaviyo.com/en/v2023-09-15/reference/api-overview#sorting |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
revision | string | (Required) API endpoint revision (format: YYYY-MM-DD[.suffix]) | |
Accept | string |
RESPONSES
status: OK
{"data":[{"type":"flow-message","id":"\u003cstring\u003e","attributes":{"name":"\u003cstring\u003e","channel":"\u003cstring\u003e","content":{"subject":"\u003cstring\u003e","preview_text":"\u003cstring\u003e","from_email":"\u003cstring\u003e","from_label":"\u003cstring\u003e","reply_to_email":"\u003cstring\u003e","cc_email":"\u003cstring\u003e","bcc_email":"\u003cstring\u003e"},"created":"\u003cdateTime\u003e","updated":"\u003cdateTime\u003e"},"links":{"self":"\u003curi\u003e"},"relationships":{"flow-action":{"data":{"type":"flow-action","id":"\u003cstring\u003e"},"links":{"self":"\u003curi\u003e","related":"\u003curi\u003e"}},"template":{"data":{"type":"template","id":"\u003cstring\u003e"},"links":{"self":"\u003curi\u003e","related":"\u003curi\u003e"}}}},{"type":"flow-message","id":"\u003cstring\u003e","attributes":{"name":"\u003cstring\u003e","channel":"\u003cstring\u003e","content":{"subject":"\u003cstring\u003e","preview_text":"\u003cstring\u003e","from_email":"\u003cstring\u003e","from_label":"\u003cstring\u003e","reply_to_email":"\u003cstring\u003e","cc_email":"\u003cstring\u003e","bcc_email":"\u003cstring\u003e"},"created":"\u003cdateTime\u003e","updated":"\u003cdateTime\u003e"},"links":{"self":"\u003curi\u003e"},"relationships":{"flow-action":{"data":{"type":"flow-action","id":"\u003cstring\u003e"},"links":{"self":"\u003curi\u003e","related":"\u003curi\u003e"}},"template":{"data":{"type":"template","id":"\u003cstring\u003e"},"links":{"self":"\u003curi\u003e","related":"\u003curi\u003e"}}}}],"links":{"self":"\u003curi\u003e","first":"\u003curi\u003e","last":"\u003curi\u003e","prev":"\u003curi\u003e","next":"\u003curi\u003e"}}