This page requires JavaScript to display.

Ask for one attribute, and receive an answer

POST /identity/attributes · Identity · version 2026-09-14

Requests a predicate rather than a document. You receive the answer — true, false, or a value — never the underlying document.

The person approves in their wallet. Both sides get a receipt naming exactly what was shared and why it was asked.

The call returns immediately with a request_id. The answer arrives on your webhook endpoint when the person responds.

Base URL

https://api.sidaxis.com/v1 in production, https://sandbox.api.sidaxis.com/v1 in sandbox.

Parameters

NameInTypeRequiredDescription
AuthorizationheaderstringrequiredBearer sk_live_… in production, sk_test_… in sandbox.
Sidaxis-VersionheaderstringoptionalDated version. Pin it in production.
Idempotency-KeyheaderstringoptionalReplaying a key returns the original request_id instead of asking the person twice.

Request body

FieldTypeRequiredDescription
facetokenstringrequiredWho you are asking.
attributeenumrequiredThe single predicate you need. One attribute per request.
purposestringoptionalShown to the person when they are asked, and recorded in the receipt.

Example request

{
  "facetoken": "0xA1f3c9b27d04",
  "attribute": "over_18",
  "purpose": "Age-restricted checkout"
}

Responses

202 — Request sent

Sent to the person's wallet. Resolve it on your webhook endpoint.

{
  "request_id": "req_6c18b904",
  "status": "pending"
}

Errors

not_found, rate_limited. See errors and refusals.

Notes

A person can decline. A decline resolves the request; it is not an error on your side.

Ask for the predicate you need, not the document that proves it — over_18 rather than a date of birth.

See also

Unpacking...