Export flows
Submit and poll
For the general submit-and-poll flow, see Exports overview.
Request
https://api.maestra.io/v3/operations/sync?endpointId={endpointId}&operation={operation}
Accept: application/json
Content-Type: application/json
Authorization: SecretKey {Secret key}
{
"sinceDateTimeUtc": "<Start of the change window — UTC, YYYY-MM-DD hh:mm>",
"tillDateTimeUtc": "<End of the change window, exclusive — UTC, YYYY-MM-DD hh:mm>"
}You can pass:
sinceDateTimeUtc— only flows created or modified at or after this UTC datetime will be included.tillDateTimeUtc— only flows created or modified before this UTC datetime will be included.
Response format
The export returns a JSON file with the flow structure, including versions and step blocks.
{
"workflows": [
{
"name": "<Flow name>",
"id": "<Flow ID>",
"versions": [
{
"version": "<Flow version number>",
"operationStepBlocks": [
{
"name": "< Step name>",
"id": "<Step ID>"
}
]
}
]
}
]
}Updated 25 days ago

