Get one document’s details
Returns one document's metadata by id (no file contents or link). 404s if it does not exist or is not visible to the caller.
bearerAuthAuthorizationBearer <token>A Clerk user API key or OAuth access token carrying the falconry:read and/or falconry:write scope.
documentId*stringA document's id, from list_documents.
length <= 64Get one document’s details
application/json- response
id*stringOpaque Convex document id.
length <= 64raptorId*|The raptor this document belongs to, or null for an account-level document.
documentType*string"legal_permit""cites""vet_record""breeding_record""sales_contract""insurance""image""training_certificate""other""microchip"title*stringdescription*string|nullfileName*stringmimeType*stringfileSizeBytes*numberissueDate*string|nullexpiryDate*string|nullissuingAuthority*string|nulltags*array<string>reminderOffsets*array<number>Days before expiry to send a reminder, e.g. [30, 7, 1].
daysUntilExpiry*|Whole days from today (UTC) to expiryDate; negative once expired.
createdAt*stringloggedByName*string|nullcurl -X GET 'https://app.falconryscale.com/api/v1/documents/string'{
"id": "string",
"raptorId": "string",
"documentType": "legal_permit",
"title": "string",
"description": "string",
"fileName": "string",
"mimeType": "string",
"fileSizeBytes": 0,
"issueDate": "string",
"expiryDate": "string",
"issuingAuthority": "string",
"tags": [
"string"
],
"reminderOffsets": [
0
],
"daysUntilExpiry": 0,
"createdAt": "string",
"loggedByName": "string"
}List documents
Lists the caller's documents (permits, CITES papers, vet records, insurance, ...) as metadata: title, type, dates, issuing authority and file name/size, newest first. No file contents or download links. Pass `expiringWithinDays` for the renewals view, soonest expiry first.
Update a document’s details
Edits a document's details (title, dates, issuing authority, tags, expiry reminders, which raptor it belongs to). The file itself can't be changed through the API. Only the fields you send change; null clears an optional field.