> For the complete documentation index, see [llms.txt](https://docs.quadrata.com/integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quadrata.com/integration/how-to-integrate/request-privacy-data/api-requests.md).

# API Requests

The following API endpoints are available for the Privacy Data API.

{% hint style="info" %}
Please see [***How to sign API***](/integration/how-to-integrate/request-privacy-data/api-requests/how-to-sign-api.md) for information on how to make a request to the server-side API.
{% endhint %}

{% hint style="warning" %}
These are server-side API routes and cannot be accessed from a browser.
{% endhint %}

<table><thead><tr><th width="350">Endpoint</th><th width="215.33333333333331">Description</th><th>Reference</th></tr></thead><tbody><tr><td><pre class="language-typescript"><code class="lang-typescript">GET /privacy/grants/${account}
</code></pre></td><td>Returns the account's granted privacy scopes</td><td><a href="/pages/cnHvIpt8PkDPdbMu00Xu">API Get granted Scopes</a></td></tr><tr><td><pre><code>GET /privacy/access/${account}
</code></pre></td><td>Get a privacy access token to fetch PII data</td><td><a href="/pages/2iSKper1lwSBprR5JKiG">API Privacy Access Token</a></td></tr><tr><td><pre class="language-typescript"><code class="lang-typescript">GET /privacy/data/${account}
</code></pre></td><td>Get privacy data from an account that has given consent.</td><td><a href="/pages/MpgC2O9tblio6EwgIdtp">API Get PII Data</a></td></tr><tr><td><pre class="language-typescript"><code class="lang-typescript"><strong>DELETE /privacy/grants/${account}
</strong></code></pre></td><td>Revokes an account's consent to privacy data</td><td><a href="/pages/abXQT076qepiHDOYVIus">API Revoke Consent</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.quadrata.com/integration/how-to-integrate/request-privacy-data/api-requests.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
