Get a Specific Version of a Flow
This API returns a flow exactly as it was in a past version, addressed by its version ID.
Use it to audit what was live before a change. Requires the campaigns:view permission.
Rate Limits
The rate limits are at the workspace level. A maximum of 10 requests per second, 100 requests per minute, and 6,000 requests per hour are allowed per workspace.Authorizations
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
- Username: Use your MoEngage workspace ID (also known as the App ID). You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
- Password: On your MoEngage workspace, navigate to Settings → Account → API keys and click Create new key. Grant the key access to the APIs it needs, such as Data, Segmentation, Push, Email, Campaigns, or Templates, and set its permissions for each one. Flows reuse the Campaigns permissions, so select View for the read endpoints and Create & Manage for Update Flow Status.
For more information on authentication and getting your credentials, refer to Getting your credentials.
Send the value in the Authorization header as Basic followed by Base64-encoding of appkey:apisecret (workspace ID and API key).
Headers
Client-supplied trace ID. The server echoes it in the X-MOE-Request-Id response header and in response_id. If you omit it, the server generates one.
Path Parameters
The 24-character ID of the flow. This must be the flow's own ID, not a version ID; passing a version ID returns 400.
^[a-f0-9]{24}$"6a3b09c938da57c8f5838880"
The 24-character ID of a specific version of the flow. Must belong to flow_id.
^[a-f0-9]{24}$Response
Flow version found.
Echo of the X-MOE-Request-Id that you supplied. When you omit it, MoEngage returns the first 12 characters of a system-generated UUID.
The type of resource the response describes.
flow Full single-flow detail. Carries every FlowSummary field plus the version list, publish metadata, settings, attribution, conversion goal, and its stages.