conversationMembershipsAllCounts
All conversation membership tab counts in a single query
Arguments
category
· ConversationCategoryFilter · Filters by conversation category, split on the number of patient members; ALL applies no split. Takes precedence over conversation_type. conversation_type
· String · Filters by legacy conversation type. Accepted values: all (default), community, individual; any other value behaves like all. community is a conversation with more than one patient member, or with no patient members and more than two members in total. individual is its exact complement. Use category for the patient-count split. Ignored when category is supplied. only_include_shared_memberships
· Boolean · If true with client_id, only returns client messages that are shared with the provider provider_id
· ID · ID of the provider to get conversation for (if nil, will return current users) provider_ids
· [ID] · Used to filter org chat conversations by provider ids read_status
· String · Filter by read status: all, read, or unread Returns
ConversationMembershipsAllCounts Example
query conversationMembershipsAllCounts( $client_id: String $category: ConversationCategoryFilter $conversation_type: String $keywords: String $only_include_shared_memberships: Boolean $org_chat: Boolean $provider_id: ID $provider_ids: [ID] $read_status: String) { conversationMembershipsAllCounts( client_id: $client_id category: $category conversation_type: $conversation_type keywords: $keywords only_include_shared_memberships: $only_include_shared_memberships org_chat: $org_chat provider_id: $provider_id provider_ids: $provider_ids read_status: $read_status ) { active_count archived_count closed_count scheduled_count }}