How to wire a website into public reports
get_report_integrationGet the agency ID, endpoint, and example request for integrating public reports into a website form. Provides a ready-to-hand cURL snippet for developers.
Instructions
Everything a developer needs to post a form on the agency's own site straight to public reports: the agency id, the endpoint, a filled-in example body, a cURL line and the request typed out. A public report is PromptEye's lead magnet, sold to agencies white-label: a prospect fills in a form on the agency's site, PromptEye works out the industry, asks a set of assistants how visible that brand is, and emails back a page in the agency's branding — a visibility score, the competitors ahead of them, and quotes from what the assistants actually said. It is a one-off sample, not tracking: nothing is measured again until the report is converted into a project, which happens in the PromptEye app. leadStatus and the conversion are the agency's sales pipeline, and contactCount is how many times the brand asked to be contacted from the page.
Call this whenever the question is how to set up, configure or integrate public reports, what the agency id is or where to find it, or what to hand a developer — and hand the answer over as the example, rather than describing it. The agency id is simply the id of the account this API key belongs to; it is what the public endpoint identifies the account by, since the call carries no key. That is also why the snippet is safe in a browser, and why the PromptEye API key must never be put in it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||