Flows

List flow sessions

One session per person per run of a flow. Attribution carries post_id, comment_id and matched_keyword only, never what anyone typed. Requires the read scope.

get/flow-sessions

Request

  • Base URL: https://sumgenius.ai/api/v1
  • URL: https://sumgenius.ai/api/v1/flow-sessions
  • Auth: one of:
    • API key in header X-SumGenius-Api-Key
    • HTTP bearer

Query parameters

flow_idinteger

One flow.

status'waiting_input' | 'delayed' | 'completed' | 'expired' | 'cancelled'

Session status.

channel'facebook' | 'instagram' | 'whatsapp'

Session channel.

contact_idinteger

Sessions for one contact. Unknown contact is a 404.

updated_sincestring date-time

ISO-8601 UTC.

limitinteger

Page size, 1 to 100. Default 25.

starting_afterstring

The next_cursor from the previous page.

Response

A page

has_moreboolean required
next_cursorstring nullable required

Pass as starting_after for the next page. Null on the last page.

Changes

No recorded changes to this operation across all 1 revision of this API.