# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
