API reference
This is the full reference for the Svanja REST API, organized with one page per area of the app. Each page explains what the area covers, what key access it requires, and every operation and endpoint available. To create a key and send your first request, start with The REST API.
-
Discovery and account
Who the key belongs to, what it may do, the team's plan and credits, and approvals.
-
Spaces
List, read and create Spaces, the folders for each client or project.
-
Files and notes
Read, search, save and download the notes and files in a Space.
-
Tasks
Start background tasks, follow their events, read their results, and pause, stop or retry them.
-
Skills
Find, read, save and run skills, and move them between Spaces as packages.
-
Tools
Saved scripts with their inputs and checks: list, read, save, run and verify them.
-
Templates
Document templates: list them, add starters to a Space, import Word files and render PDFs.
-
Rules
Read rules, save drafts, test them, and turn them on, pause, run or archive them.
-
Connections
Connected services: list them, connect new ones, check them, and read or write in them.
-
Computers
Your cloud computer and paired machines: their state, and starting, sleeping or resetting them.
-
Mail
Mailboxes, messages and search, drafts and sending, organizing mail, Mail AI and the mail settings.
-
CRM
Read and change contacts and companies, and see their conversations.
-
Artifacts
Read the documents tasks made, save new versions, make charts and save them to a Space.
-
Publications
Publish documents and files with a link, change who can open them, and unpublish.
-
Changes
See what was changed, undo changes in Svanja and check actions in other services.
-
Activity
The team's audit log for API access: keys, Spaces and command line sign-ins.
-
Assistant
Read summaries of the assistant's chats and runs.
-
Channels
The status of Slack, Teams and phone channels, and links to finish linking them in the app.
-
API keys
Create, change, replace and revoke the team's API keys from code.
Try Svanja with your own mailbox
Sign up now, and you get an email when your account is ready.