Secure document storage, photo management, notes, tasks, contacts, and calendar. Build productivity and storage features into any app.
Include your API key in the Authorization header. All Vault endpoints require both your API key and a user session token.
Rails Vault provides encrypted cloud storage with built-in productivity tools. Each user gets their own isolated vault with documents, photos, notes, tasks, contacts, and calendar.
POST /documents using multipart form data
/documents
Upload a document (multipart)
/documents
List all documents
/documents/{id}
Get document details
/documents/{id}
Rename or update document metadata
/documents/{id}
Move document to trash
/documents/{id}/download
Download document file
/documents/{id}/share
Generate a share link
/documents/{id}/move
Move to a different folder
/documents/{id}/versions
List document version history
/folders
Create a folder
/folders
List all folders
/folders/{id}
Get folder details and contents
/folders/{id}
Rename a folder
/folders/{id}
Delete a folder and its contents
/photos
Upload a photo (multipart)
/photos
List all photos
/photos/{id}
Get photo details and metadata
/photos/{id}/download
Download original photo
/photos/{id}
Delete a photo
/albums
Create a photo album
/albums
List all albums
/albums/{id}
Get album with photos
/albums/{id}/photos
Add photos to an album
/albums/{id}
Delete an album
/notes
Create a note
/notes
List all notes
/notes/{id}
Get note content
/notes/{id}
Update note title or content
/notes/{id}
Delete a note
/notes/search
Search notes by keyword
/notes/{id}/pin
Pin a note to top
/notes/{id}/archive
Archive a note
/tasks
Create a task
/tasks
List all tasks
/tasks/{id}
Get task details
/tasks/{id}
Update task details or priority
/tasks/{id}
Delete a task
/tasks/{id}/complete
Mark task as complete
/tasks/today
Get tasks due today
/tasks/overdue
Get overdue tasks
/contacts
Create a contact
/contacts
List all contacts
/contacts/{id}
Get contact details
/contacts/{id}
Update contact information
/contacts/{id}
Delete a contact
/contacts/search
Search contacts by name or phone
/contacts/import
Bulk import contacts (CSV/vCard)
/contacts/export
Export contacts as vCard
/calendar/events
Create a calendar event
/calendar/events
List events (with date range filter)
/calendar/events/{id}
Get event details
/calendar/events/{id}
Update event details
/calendar/events/{id}
Delete an event
/calendar/events/today
Get today's events
/calendar/events/upcoming
Get upcoming events
/calendar/events/search
Search events by title or description
/verify/document
Verify a document hash
/verify/certificate/{id}
Get document certificate of authenticity
/verify/asset
Verify a digital asset
/storage/usage
Get storage usage breakdown
/storage/trash
List items in trash
All errors follow a standard format.
401
Invalid or missing API key / session token
403
No access to this resource
404
Document, folder, or resource not found
413
File exceeds maximum upload size
422
Validation error (check field-level errors)
429
Rate limit exceeded