---
title: Connect a form to Public Reports
description: Agency ID, the generation endpoint, and integration examples.
---

The **Integration** tab provides your agency ID and a sample report request for the person connecting your website or form.

Copy your **Agency ID** and share it with the person building the integration. The same tab shows the `POST /generate-report` endpoint and examples in text, cURL, Axios, and Fetch formats. Separate buttons copy the example code and request type.

The request must contain `agencyId`, `brand`, `email`, and `country`. Send `country` as a supported two-letter ISO country code, such as `pl` or `PL`; a country name such as `Poland` returns **400 Bad Request**. Optional `language` must be `en`, `pl`, `de`, or `es`. The endpoint stores codes in lowercase. You can also include `website`, `reach`, and `utm`. The in-app example shows the exact `reach` values and request shape. You may omit the domain, but you will need one later if you want to convert the report to a project.

An accepted request appears in **Reports**. Repeating the same request with a domain may reuse a report from the past 30 days. If that report is still processing or has failed, the repeated request does not schedule an email to the new address; check the report's status in the app.

Use `local`, `regional`, or `national` for reach; `national` means countrywide in the selected market.

Enter a Calendly URL to add a **Meeting** tab to the report contact form. Save an empty URL to remove that meeting option.
