# Estimate a broadcast's reach

```http
GET https://trydimmi.com/api/v1/broadcasts/{broadcast}/estimate
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `broadcasts:read`.

## Path parameters

- `broadcast` (string, required): Id of the broadcast, starting with bcst_, such as bcst_01jx2m8k4t. Find it with GET /broadcasts.

## Response 200 (OK)

- `data` (object, required)
  - `capped` (boolean, required): True when counting stopped at the 50000-contact limit, so the real numbers may be higher.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `reach` (integer, required): How many people or Slack channels the broadcast would reach if sent now.
  - `skipped` (object, required): How many would be left out for each reason, such as {"no_email": 12, "unsubscribed": 3}. Empty when nobody would be.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/broadcasts/{broadcast}/estimate' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "capped": true,
    "object": "<string>",
    "reach": 123,
    "skipped": {
      "<key>": 123
    }
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
