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.
bearerAuthAuthorizationBearer <token>A Clerk user API key or OAuth access token carrying the falconry:read and/or falconry:write scope.
raptorId?stringOnly this raptor's documents. Omit for every document the caller can see.
length <= 64expiringWithinDays?integerOnly documents that have not expired yet and expire within this many days, soonest first (e.g. 30 for "what needs renewing this month").
0 <= value <= 365limit?integerMax rows. Default and max 200.
0 < value <= 200List documents
application/json- response
documents*array<>curl -X GET 'https://app.falconryscale.com/api/v1/documents'{
"documents": [
{
"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"
}
]
}Log a medication dose
Records whether one day's dose was taken, missed or skipped. Logging the same date again replaces that day's entry. Returns the course with its updated dose log.
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.