POST
/api/admin/shares/lookup
Look up a reported raw code exactly (requires administrator authentication and CSRF).
Headers:
Authorization: Bearer [access-token]
x-csrf-token: [csrf-token]
Request Body:
{ "shareCode": "[reported-43-character-code]" }
Response (200 OK):
{
"shareId": 123,
"sharer": { "userId": 42, "email": "reader@example.com", "username": "reader" },
"anchor": {
"anchorKind": "commentary",
"readerContext": { "bibleVersion": "esv", "commentaryTranslation": "english" },
"bookIndex": 44,
"chapterNum": 23,
"startVerse": null,
"endVerse": null,
"startParaId": "Acts_commentary_023_00075",
"endParaId": "Acts_commentary_023_00077",
"contextBibleRef": { "bookIndex": 44, "chapterNum": 23, "verse": 2, "endVerse": 5 },
"contextSource": "subsection"
},
"comment": "Read this commentary",
"status": "active",
"singleUse": false,
"createdAt": "2026-09-12T12:00:00.000Z",
"expiresAt": "2026-09-19T12:00:00.000Z",
"consumedAt": null,
"deletedAt": null,
"deletedByUserId": null,
"deletionReason": null
}
Error Response (404 Not Found):
{ "message": "Share not found" }
Notes:
- Submit the code only in this POST body, never in a query parameter.
- The Server hashes it immediately and never echoes it.
- The request is rate-limited to 30 attempts per administrator per 15 minutes.