Skip to main content
POST
/
report
curl --location 'https://gyra-core.gyramais.com.br/report' \
--header 'Authorization: Bearer abc123' \
--header 'Content-Type: application/json' \
--data-raw '{
  "document": "12345678901",
  "type": "cpf",
  "policyId": "abc123"
}'
{
  "id": "663a2b61b18bda19547ddaa8",
  "status": "PROCESSING",
  "createdAt": "2024-05-07T13:23:45.959Z"
}
curl --location 'https://gyra-core.gyramais.com.br/report' \
--header 'Authorization: Bearer abc123' \
--header 'Content-Type: application/json' \
--data-raw '{
  "document": "12345678901",
  "type": "cpf",
  "policyId": "abc123"
}'
A requisição retorna o id e status do relatório. Você pode configurar para receber atualizações em real time na sessão webhooks ou consultar o id na api Get Report para um status atualizado
{
  "id": "663a2b61b18bda19547ddaa8",
  "status": "PROCESSING",
  "createdAt": "2024-05-07T13:23:45.959Z"
}

Authorizations

Authorization
string
header
required

Enter JWT token

Query Parameters

front
string
required

Body

application/json
policyId
string
required
document
string
required
type
string
required