Export a data subject's records
curl --request GET \
--url https://sisbajud.sandbox.lerian.net/institutions/{institutionId}/lgpd/subject-data \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sisbajud.sandbox.lerian.net/institutions/{institutionId}/lgpd/subject-data"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sisbajud.sandbox.lerian.net/institutions/{institutionId}/lgpd/subject-data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sisbajud.sandbox.lerian.net/institutions/{institutionId}/lgpd/subject-data"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"files": [
{
"createdAt": "<string>",
"fileName": "<string>",
"fileType": "<string>",
"generationDate": "<string>",
"id": "<string>",
"kind": "<string>",
"status": "<string>",
"updatedAt": "<string>",
"transmissionDate": "<string>"
}
],
"generatedAt": "<string>",
"orders": [
{
"chaveRegistro": "<string>",
"connectorType": "<string>",
"cpfCnpj": "<string>",
"createdAt": "<string>",
"dataHoraProtocolo": "<string>",
"id": "<string>",
"juizSolicitante": "<string>",
"motivoNegativa": "<string>",
"numeroProcesso": "<string>",
"ordemBloqueioPermanente": true,
"retryCount": 123,
"slaDeadline": "<string>",
"status": "<string>",
"tipoOrdem": "<string>",
"updatedAt": "<string>",
"valorBloqueado": "<string>",
"valorDesbloqueado": "<string>",
"valorRemanescente": "<string>",
"valorSolicitado": "<string>",
"valorTransferido": "<string>",
"codigoResposta": "<string>",
"escopoOrdem": "<string>",
"valorBloqueioMinimo": "<string>"
}
]
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}Export a data subject's records
Tokenizes the query subject value across all active key versions, reunites the institution-scoped orders, decrypts each in full, and returns the subject export. The response body is the only place the decrypted subject data surfaces.
GET
/
institutions
/
{institutionId}
/
lgpd
/
subject-data
Export a data subject's records
curl --request GET \
--url https://sisbajud.sandbox.lerian.net/institutions/{institutionId}/lgpd/subject-data \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sisbajud.sandbox.lerian.net/institutions/{institutionId}/lgpd/subject-data"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sisbajud.sandbox.lerian.net/institutions/{institutionId}/lgpd/subject-data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sisbajud.sandbox.lerian.net/institutions/{institutionId}/lgpd/subject-data"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"files": [
{
"createdAt": "<string>",
"fileName": "<string>",
"fileType": "<string>",
"generationDate": "<string>",
"id": "<string>",
"kind": "<string>",
"status": "<string>",
"updatedAt": "<string>",
"transmissionDate": "<string>"
}
],
"generatedAt": "<string>",
"orders": [
{
"chaveRegistro": "<string>",
"connectorType": "<string>",
"cpfCnpj": "<string>",
"createdAt": "<string>",
"dataHoraProtocolo": "<string>",
"id": "<string>",
"juizSolicitante": "<string>",
"motivoNegativa": "<string>",
"numeroProcesso": "<string>",
"ordemBloqueioPermanente": true,
"retryCount": 123,
"slaDeadline": "<string>",
"status": "<string>",
"tipoOrdem": "<string>",
"updatedAt": "<string>",
"valorBloqueado": "<string>",
"valorDesbloqueado": "<string>",
"valorRemanescente": "<string>",
"valorSolicitado": "<string>",
"valorTransferido": "<string>",
"codigoResposta": "<string>",
"escopoOrdem": "<string>",
"valorBloqueioMinimo": "<string>"
}
]
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}Authorizations
JWT bearer token issued by the identity provider.
Path Parameters
The institution's unique identifier (UUID) the subject data is scoped to.
Example:
"44444444-4444-4444-4444-444444444444"
Query Parameters
The data subject's cleartext CPF or CNPJ (tokenized server-side; never logged).
Example:
"52998224725"
The document type (cpf or cnpj); inferred from the subject value when omitted.
Example:
"cpf"
Was this page helpful?

