Skip to main content

Get Process

warning

Before retrieving the process, review our webhook configuration and fallback strategies — click here.

In the API contract, the POST /processes/v1 response is already the final result. This endpoint exists for re-querying — for example, when you need to inspect a process you persisted earlier, or audit a previous transaction.

Endpoint

EnvironmentURL
ProductionGET https://api.id.unico.app/processes/v1/{processId}
SandboxGET https://api.id.uat.unico.app/processes/v1/{processId}

Request

Headers
HeaderValue
AuthorizationBearer <access_token>
APIKEYProvisioned API key.
Path parameters
ParameterTypeRequiredDescription
processIdstring (UUID)yesProcess identifier returned by Create Process.

Example

curl -X GET https://api.id.unico.app/processes/v1/$PROCESS_ID \
-H "Authorization: Bearer $TOKEN" \
-H "APIKEY: $API_KEY"

Responses

200 OK
{
"id": "80371b2a-3ac7-432e-866d-57fe37896ac6",
"status": 3,
"unicoId": { "result": "yes" },
"identityFraudsters": { "result": "inconclusive" },
"government": { "serpro": 87 },
"liveness": 1
}
FieldTypeDescription
idstring (UUID)Process identifier.
statusinteger1 (processing), 2 (divergence), 3 (finished with success), 4 (canceled), 5 (error).
unicoId.resultstringyes, no, inconclusive — see Identity Verification.
identityFraudsters.resultstringyes, inconclusive — see Risk Fraud Classification.
government.serprointegerSerpro similarity score (0–100, -1, -2). See Serpro Similarity.
livenessinteger1 (passed), 2 (failed) — see Liveness.
scoreintegerProbabilistic risk score. Present when unicoId.result = inconclusive and risk score orchestration is active. Positive values indicate higher probability of being the holder; negative values indicate higher risk.
400 Bad Request

The processId path parameter is missing or malformed. See Error Codes below.

403 Forbidden

Bearer token or APIKEY missing, expired, or invalid.

404 Not Found

The processId does not exist or does not belong to the authenticated tenant.

410 Gone

The process exists but resulted in an error. Returns only id and status: 5.

429 Too Many Requests

Rate limit reached. See Rate limits.

500 Internal Server Error

Unexpected server error.

When to use this endpoint

The API contract returns results synchronously, so most integrations don't need this endpoint. Use it when:

  • You persisted only the processId and need to retrieve the full result later (audit, support).
  • You suspect the original response was lost in transit (network error after the platform completed the work).
  • You're building a back-office tool that reviews historical processes.

Error Codes

CodeMessageDescription
20023O parâmetro processId não foi informado.The process id parameter is missing.
20002O parâmetro APIKey não foi informado.The APIKEY parameter is missing from the request header.
20001O parâmetro authtoken não foi informado.The integration token parameter is missing from the request header.