Skip to main content

Push Approver - Approval Flow

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.

Overview​

This page documents internal approval workflow behavior for push activation. It is not a direct public API endpoint.

Workflow​

  1. Push activation enters the approval workflow check.
  2. If creator has approver_bypass, the message is auto-approved and scheduled.
  3. Otherwise message status is set to inactive and approvers are notified by email.
  4. An approver later uses /i/push/approve to approve or reject.

Impact​

  • Pending approval messages remain inactive and are not scheduled.
  • Approved messages are eligible for scheduling.
  • Rejected messages are marked as rejected and creator is notified.
Implementation details

Database Collections

CollectionUsed forData touched by this endpoint
countly.messagesPush/message recordsStores message lifecycle and approval/scheduling state used by this flow.
countly.membersMember/account enrichmentStores member profile fields (for example names/IDs) used to resolve actor metadata.