Skip to main content

Get flow info

Enterprise

This endpoint is part of Countly Enterprise. To get access, contact sales or compare versions. Existing customers can reach the support portal with questions.

Endpoint

/o/flows?method=info

Overview

Returns full schema details for a single flow.

Authentication

Pass api_key or auth_token as a query parameter, or send countly-token as a header. See Authentication.

Permissions

Requires flows Read permission.

Request Parameters

ParameterTypeRequiredDescription
methodStringYesMust be info.
app_idStringYesTarget app ID.
_idStringYesFlow ID.
api_keyStringConditionalRequired if auth_token is not provided.
auth_tokenStringConditionalRequired if api_key is not provided.

Examples

/o/flows?
method=info&
app_id=64f5c0d8f4f7ac0012ab3456&
_id=64f5c0d8f4f7ac0012ab3456_67bd31c92e7f0b0012ab4567

Response

Success Response

{
"_id": "64f5c0d8f4f7ac0012ab3456_67bd31c92e7f0b0012ab4567",
"name": "Signup to Purchase",
"type": "events",
"status": "new",
"memberData": {
"full_name": "Jane Doe"
}
}

Response Fields

FieldTypeDescription
(root object)ObjectFlow schema plus creator name subset.
memberData.full_nameStringCreator display name when available.

Error Responses

  • 400
{
"result": "Flow not found"
}

Behavior

  • Reads flow by _id + app_id.
  • Joins creator info from members.
  • Parses user_segmentation JSON string.
  • Cleans quoted period strings.
Implementation details

Database Collections

CollectionUsed forData touched by this endpoint
countly.flow_schemasEndpoint data sourceStores endpoint-related records this endpoint reads or modifies.
countly.membersMember/account enrichmentStores member profile fields (for example names/IDs) used to resolve actor metadata.