# Get click id report

Get click id report is a read in the HeadHoncho API. The Google Click ID report: one row per job that opened or closed in the range, with its click id, its tracked call, its total and its profit.

Page: https://headhoncho.app/docs/api/get_click_id_report | Part of the HeadHoncho API docs: https://headhoncho.app/docs/api | Machine-readable: https://headhoncho.app/docs/api/openapi.json

## The request

Reference for **Get click id report**, HeadHoncho API v1. It is a read, sent to the base address `https://api.headhoncho.app`.

`GET /api/v1/reports/google-click-ids`

The key or app needs the **Click IDs and conversions** area at **read**. It counts as a read call: 300 a minute for each key or connected app. See [rate limits](https://headhoncho.app/docs/api/errors#rate-limits).

Send your key as `Authorization: Bearer hh_live_...`. See [API keys](https://headhoncho.app/docs/api/keys).

## Parameters

| Name | Kind | Required | Description | Example |
| --- | --- | --- | --- | --- |
| `from` | date, in the query | Yes | The first day. A job is in the range when it opened or closed in it. | `2026-10-01` |
| `to` | date, in the query | Yes | The last day, inclusive. | `2026-10-31` |
| `company_id` | id, in the query | No | Default: every company the credential reaches. | `cmp_14f5` |

## What comes back

rows in the agency's fifteen columns, and totals: jobs, closed, with_click_id, with_call, total, company_total; plus calls, calls_with_click_id and calls_without_click_id for the range, because a call with no click id can never be in any file, whatever anyone does downstream.

It never changes a record. It only reads the companies the key reaches. Why this report is in the API: Owner, 2026-10-14: the one report in the starter, because the file is handed to Google by the customer and must exist outside the app.

## Errors that apply

| Code | Status | What it means |
| --- | --- | --- |
| [`missing_key`](https://headhoncho.app/docs/api/errors#missing_key) | 401 | Send your key as Authorization: Bearer hh_live_... |
| [`unknown_key`](https://headhoncho.app/docs/api/errors#unknown_key) | 401 | That key is not one we issued, or it was revoked. |
| [`expired_token`](https://headhoncho.app/docs/api/errors#expired_token) | 401 | That token has expired. Refresh it, or connect the app again. |
| [`no_access`](https://headhoncho.app/docs/api/errors#no_access) | 403 | This credential does not reach that. Ask the person who made it for access. |
| [`not_found`](https://headhoncho.app/docs/api/errors#not_found) | 404 | No such record in the companies this credential reaches. |
| [`out_of_scope`](https://headhoncho.app/docs/api/errors#out_of_scope) | 404 | No such company in the companies this credential reaches. |
| [`invalid`](https://headhoncho.app/docs/api/errors#invalid) | 422 | Some fields were refused. See fields. |
| [`rate_limited`](https://headhoncho.app/docs/api/errors#rate_limited) | 429 | Too many calls this minute. Wait and try again. |

## Related

- [Get job conversion](https://headhoncho.app/docs/api/get_job_conversion): What this job told the ad platform it was worth: the click it came from, each conversion sent, its value and its basis, and what Google did with it.
- [Export click id report](https://headhoncho.app/docs/api/export_click_id_report): The Google Click ID report as a file: the agency's sheet, or the Google Ads offline conversion upload file, ready to upload.
- The same records in the app: [offline conversion tracking](https://headhoncho.app/offline-conversion-tracking).
- How the API fits together: [the model](https://headhoncho.app/docs/api/model), [API keys](https://headhoncho.app/docs/api/keys), [errors](https://headhoncho.app/docs/api/errors) and [the MCP server](https://headhoncho.app/docs/api/mcp).

## Examples

### Answer

```json
{
  "from": "2026-10-01",
  "to": "2026-10-31",
  "rows": [
    {
      "ticket": 1138,
      "status": "Closed",
      "customer_phone": "+12175550142",
      "start_date": "2026-10-11 13:25",
      "close_date": "2026-10-16 11:40",
      "total": 1450.0,
      "company_total": 610.0,
      "job_source": "Google Ads",
      "gclid": "Cj0KCQjw...",
      "callrail_call_id": "CAL8f2e1",
      "campaign_id": "2184930112",
      "callrail_call_start": "2026-10-11 13:22",
      "lead_source": "call",
      "paid_date": "2026-10-16",
      "time_zone": "America/Chicago"
    }
  ],
  "totals": {
    "jobs": 64,
    "closed": 41,
    "with_click_id": 37,
    "with_call": 52,
    "total": 71240.0,
    "company_total": 28410.5
  },
  "calls": 118,
  "calls_with_click_id": 69,
  "calls_without_click_id": 49
}
```

### cURL

```bash
curl "https://api.headhoncho.app/api/v1/reports/google-click-ids?from=2026-10-01&to=2026-10-31&company_id=cmp_14f5" \
  -H "Authorization: Bearer hh_live_..."
```

### Python

```python
import requests

response = requests.get(
    "https://api.headhoncho.app/api/v1/reports/google-click-ids",
    headers={"Authorization": "Bearer hh_live_..."},
    params={
        "from": "2026-10-01",
        "to": "2026-10-31",
        "company_id": "cmp_14f5",
    },
)
response.raise_for_status()
print(response.json())
```

### JavaScript

```javascript
const response = await fetch("https://api.headhoncho.app/api/v1/reports/google-click-ids?from=2026-10-01&to=2026-10-31&company_id=cmp_14f5", {
  headers: { Authorization: "Bearer hh_live_..." },
});
const data = await response.json();
console.log(data);
```

### Your AI

```text
Tool: get_click_id_report
Arguments: from (date, required), to (date, required), company_id (id, optional)
Access: read on Click IDs and conversions
Hints: readOnly=true, destructive=false, idempotent=true, openWorld=false
Try asking: "Using HeadHoncho, get click id report with from 2026-10-01 and to 2026-10-31 and company_id cmp_14f5."
```
