identity_id on the verified JWT, so a caller can only ever retrieve their own identity, never another identity's record by guessing an id. Use this to display account/profile details in a dashboard or to confirm the current lifecycle status of the signed-in identity.curl --location '/current-identity' \
--header 'Authorization: Bearer <token>'{
"message": "Identity retrieved successfully",
"status": "success",
"data": {
"id": "01HXYZ1234567890ABCDEFGHIJ",
"name": "Jane Doe",
"type": "user",
"primary_email": "jane.doe@example.com",
"reference": "IDT-8F2A1C7D",
"parent": null,
"status": "active",
"created": 1722869520000,
"updated": 1722869520000
}
}