API Get Privacy Data
Server-Side API endpoint to fetch Privacy Data
This endpoint fetches the underlying Privacy Data from an account that has granted consent for your dApp to access.
NOTE: There is a service library available to you in the Quadrata SDK, for this endpoint.
API endpoint to get PII data that has been granted to your dApp
GET
https://int.quadrata.com/api/v1/privacy/data/${account}
Path Parameters
Name | Type | Description |
---|---|---|
account* | User's wallet address |
Query Parameters
Name | Type | Description |
---|---|---|
scopes | List[String] | Sparse privacy scopes to fetch
If not provided, all granted scopes will be returned. Use the scope, |
Headers
Name | Type | Description |
---|---|---|
Authorization* |
| |
Date* | String | Date and time of current request Wed, 04 Oct 2023 02:39:37 GMT |
X-Access-Token* | String | Privacy Access token |
Signature* | String | API Signed Request Signature |
In order to authenticate properly with this endpoint, you must first request a Privacy Access Token.
Privacy Access Tokens are one time use tokens. Attempting to reuse an access token will return a 401 Unauthorized
response.
Example With Access Token
See How to sign API for message signing examples with more coverage and explanations.
Last updated