---
agentTools:
  projectIndex: https://devdocs.drift.com/llms.txt
---

# Bulk Conversation Statuses

You may want to occasionally query the total state of conversations in your (or a connected orgs) account without having to scroll through the conversation API.

The following endpoint will return a count of conversations by status in the current account.

`GET  https://driftapi.com/conversations/stats`

[block:code]
{
  "codes": [
    {
      "code": "{\n    \"conversationCount\": {\n        \"CLOSED\": (optional int),\n        \"OPEN\": (optional int),\n        \"PENDING\": (optional int)\n    }\n}",
      "language": "json"
    }
  ]
}
[/block]

[block:callout]
{
  "type": "warning",
  "title": "A note on optional count status values",
  "body": "Note that each property will be absent if the count is 0. i.e. a response with `\"conversationCount\" : {}` indicates no conversations."
}
[/block]

Example response:

[block:code]
{
  "codes": [
    {
      "code": "{\n    \"conversationCount\": {\n        \"CLOSED\": 282,\n        \"OPEN\": 125\n    }\n}",
      "language": "json"
    }
  ]
}
[/block]