Skip to content

conversationMembershipsCount

Number of conversationmembership

Arguments

only_include_shared_memberships · Boolean · If true with client_id, only returns client messages that are shared with the provider
org_chat · Boolean · If TRUE: count organization members conversations
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

Returns

Int

Example

query conversationMembershipsCount(
$active_status: String
$client_id: String
$conversation_type: String
$keywords: String
$only_include_shared_memberships: Boolean
$notes_type: String
$org_chat: Boolean
$provider_id: ID
$provider_ids: [ID]
$read_status: String
) {
conversationMembershipsCount(
active_status: $active_status
client_id: $client_id
conversation_type: $conversation_type
keywords: $keywords
only_include_shared_memberships: $only_include_shared_memberships
notes_type: $notes_type
org_chat: $org_chat
provider_id: $provider_id
provider_ids: $provider_ids
read_status: $read_status
)
}