Skip to content

Get Attestation Record

Overview

Use the GetAttestationRecord endpoint to retrieve a specific attestation record by its ID. This returns the full attestation details including verification status and linked data.

Endpoint

POST https://api.brij.fi/brij.core.v1.partner.Service/GetAttestationRecord

Request Body

{
  "attestationId": "att_xyz789abc"
}

Request Parameters

Field Type Required Description
attestationId string Yes Unique identifier for the attestation record

Response

{
  "attestationRecord": {
    "id": "att_xyz789abc",
    "type": "VALIDATED_ID_DOCUMENT",
    "status": "COMPLETED",
    "linkedDataIds": [
      "data_def456"
    ],
    "verifierPublicKey": "0x1234...",
    "verifiedAt": "2025-01-15T10:35:00Z"
  }
}

Response Parameters

Field Type Description
attestationRecord object The requested attestation record

AttestationRecord Object

Field Type Description
id string Unique identifier for the attestation record
type string Type of attestation (see Attestation Types)
status string Status of the attestation (see Attestation Statuses)
linkedDataIds array List of data record IDs that this attestation verifies
rawProof bytes Raw proof bytes
signature bytes Cryptographic signature of the attestation
verifierPublicKey string Public key of the entity that verified this attestation
proof object Structured attestation proof
verifiedAt string ISO 8601 timestamp when the attestation was verified

Error Responses

Status Code Description
400 Invalid request parameters
401 Invalid or missing API key
404 Partner or attestation record not found
500 Internal server error

Examples

Example 1: Get Attestation Record

Retrieve a specific attestation record:

{
  "attestationId": "att_xyz789abc"
}