> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voyantcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Comms Dispatch Status

> Retrieve dispatch status counts (queued, sending, sent, failed) per day.

## Method

`GET` `/v1/analytics/comms/dispatch-status`

## Query Parameters

<ParamField query="from" type="string" required>Start date (YYYY-MM-DD, inclusive).</ParamField>
<ParamField query="to" type="string" required>End date (YYYY-MM-DD, inclusive).</ParamField>
<ParamField query="workspaceId" type="uuid" required>Workspace identifier.</ParamField>

## Headers

<ParamField header="Authorization" type="string">Bearer token with `analytics:read` scope.</ParamField>

## Request Example

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.voyantcloud.com/v1/analytics/comms/dispatch-status?from=2025-02-01&to=2025-02-07&workspaceId=ws_abc" \
    -H "Authorization: Bearer $VOYANT_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const res = await fetch(
    "https://api.voyantcloud.com/v1/analytics/comms/dispatch-status?from=2025-02-01&to=2025-02-07&workspaceId=ws_abc",
    { headers: { Authorization: `Bearer ${process.env.VOYANT_API_KEY}` } },
  )
  const status = await res.json()
  ```

  ```python Python theme={null}
  import os, requests

  resp = requests.get(
    "https://api.voyantcloud.com/v1/analytics/comms/dispatch-status",
    params={"from": "2025-02-01", "to": "2025-02-07", "workspaceId": "ws_abc"},
    headers={"Authorization": f"Bearer {os.environ['VOYANT_API_KEY']}"},
  )
  dispatch = resp.json()
  ```
</RequestExample>

## Response

<ResponseExample>
  ```json 200 OK theme={null}
  [
    { "day": "2025-02-01", "status": "queued", "cnt": 320 },
    { "day": "2025-02-01", "status": "sent", "cnt": 1180 },
    { "day": "2025-02-02", "status": "failed", "cnt": 12 }
  ]
  ```
</ResponseExample>

<Tip>Track the ratio of `failed` to `sent` to identify provider outages or content issues affecting dispatch completion.</Tip>
