Get a Single Flow
This API returns the full details of one flow, including its settings, targeting, conversion
goal, and stage-by-stage structure. 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"
Query Parameters
View a specific version of the flow by its version number (the trailing integer of the version name, for example Version 3 becomes 3). When omitted, the last published version is returned, or the draft if none is published. A non-integer value returns 400; a number that does not exist for this flow returns 404.
x >= 1Response
Flow 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.