Endpoints1 min read

Query Consented Records (POST /api/v1/m2m/query)

Retrieve structured, verified candidate credential data across consented vault categories.

`POST /api/v1/m2m/query`

Queries structured, verified candidate records for the categories consented by the candidate.

Headers

HeaderTypeDescription
Content-TypestringMust be application/json
X-Sabi-Org-KeystringYour organization's live developer API key
AuthorizationstringBearer token containing the candidate's scoped key (Bearer sbk_live_...)

Request Body

json
{
  "categories": ["academics", "experience", "certifications"]
}

Example Response (`200 OK`)

json
{
  "status": "success",
  "candidate_id": "cand_948f29c0",
  "integrity_status": "VERIFIED",
  "records": {
    "academics": [
      {
        "id": "acad_01",
        "institution": "University of Lagos",
        "degree": "B.Sc. Computer Science",
        "graduation_year": 2021,
        "verification_tier": "TIER_2_LEGALIZED",
        "seal_status": "Officially Notarized & Sealed",
        "ledger_hash": "a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e"
      }
    ],
    "experience": [
      {
        "id": "exp_01",
        "company": "Paystack",
        "role": "Software Engineer",
        "start_date": "2021-08-01",
        "end_date": "2024-03-31",
        "verification_tier": "TIER_1_STANDARD_HASHED",
        "seal_status": "Tamper-Proof Sealed"
      }
    ]
  }
}
Verification compatibility anchor

Verification details active