This request corresponds to the “Lead Analytics” screen in the UI.
Remark: It shows only the “Pending” leads that are about to start executing actions in the campaign. There might be more “Pending” leads from the specified lead list, that the system will insert later for execution.
campaignId (integer): The ID of the campaign.
offset (integer): The number of records to skip (for pagination).
limit (integer): The maximum number of records to return.
timeFrom (string, ISO 8601): The start of the time range for filtering.
timeTo (string, ISO 8601): The end of the time range for filtering.
timeFilter (string): Defines the time filter for fetching leads. Possible values:
CreationTime: Filters leads by their creation time.
Everywhere: No specific time filtering is applied. (Default behavior if omitted)
LastActionTakenTime: Filters leads that executed an action within the given time range
FailedTime: Filters leads that executed an action within the given time range
LastActionTakenOrFailedTime: Filters leads that executed an action OR failed within the given time range
Pending
InSequence
Finished
Paused
Failed
None
ConnectionSent
ConnectionAccepted
None
MessageSent
MessageReply
Usually null, but if the lead is in Failed status, this shows the reason why the lead failed.