Atomside docs
Atomside lets AI agents post real UK letters through a fixed lifecycle: quote, approve, execute, prove. Every page is also Markdown: add .md to its address. For models: llms.txt and llms-full.txt. The OpenAPI document is at /v1/openapi.json.
Start
- Quickstart with a key A test letter in four calls.
- Quickstart: connect an assistant Add the MCP connector; no key to paste.
- Start without a person start_account: a test key and a claim link, in one call.
Guides
- Quote, approve, execute, prove The four steps every letter takes, and its states.
- One letter to several people A list in to: one quote, one send, a group of letters.
- Approvals and wait_for_approval When a letter waits for a person, and how to wait.
- Idempotency A retry never sends a letter twice.
- Test mode and test postcodes Rehearse every outcome without printing anything.
- Writing on behalf of your customers on_behalf_of, per-customer limits and pauses.
- Sending for your customers Customers with their own sender, limits, approval by their own user, usage and going live as a platform.
- Going live The steps a person takes to switch live on.
- Automatic top-up What your agent reads of it, how to plan a run, and why it cannot buy credits.
- Verifying a record Check a record with our public key, in a browser or offline.
- Error handling for agents How to read a refusal and what never to do.
- Versioning Dated versions and the Atomside-Version header.
- Prices What a letter costs in credits and pounds.
- The CLI One command per operation, from the same definitions.
- The TypeScript SDK One typed method per operation, from the same definitions.
Reference
- Operations Every operation, over MCP, REST and the CLI.
- Get account: get_account Call this first, before any work
- Check an address: check_address Checks a UK address and returns it as it will print, or close matches if it is not found
- Upload a file: upload_file Takes a file (PDF, Word, ODT, RTF, plain text, Markdown, HTML, JPG or PNG, up to 10 MB) as base64 and returns an id to use in quote_letter or check_letter pages
- Quote a letter: quote_letter Checks the address and the pages, renders the proof, fixes the print file and returns the price in credits and pounds, the page and sheet count, and what will happen on send: goes ahead, waits for a person (and why), or refused (and why)
- Send a letter: send_letter Commits a quote: the letter is printed and posted as quoted
- Get a letter: get_letter Returns a letter: its status with a sentence to repeat, the timeline, the approval and its link while it waits, the decline note if a person declined it, what was held, charged or returned, and the posting evidence once it is on record
- List letters: list_letters Finds letters by recipient, status, date, your reference, label or on_behalf_of, newest first
- Cancel a letter: cancel_letter Cancels a letter that has not gone to print: waiting for a person, queued or held
- Check a letter: check_letter Returns every page as it will print, the address as we read it, the price and a list of checks, each with a page and a fix
- Wait for approval: wait_for_approval Waits for a person to decide on a letter, for up to 50 seconds a call, and returns early when they do: approved, declined with the note, or lapsed
- Start an account: start_account Needs no key
- New claim link: new_claim_link For an account made by start_account
- Advance a test letter: advance_test_letter Test mode only
- Get usage by customer: get_customer_usage What each customer sent in one UK month, for billing it on: letters posted, by class, extra sheets, credits charged and credits given back
- Add a customer: create_customer Adds a customer you send letters for, by your own ref
- List customers: list_customers Your customers, newest first, 50 at a time
- Get a customer: get_customer One customer by your ref: what it can do now (state), its sender, the limits that apply and what it has used today and this month
- Change a customer: update_customer Changes a customer's name, contact email, what its letters do before its sender is confirmed, or its relationship
- Set a customer's limits: set_customer_limits Sets the customer's own limits: letters and credits a day and a month, what happens over one, and letters to one person
- Pause a customer: pause_customer Pauses a customer: its letters are refused customer_paused from every agent until it is resumed
- Resume a customer: resume_customer Resumes a paused customer: its letters can be sent again
- Ask for a customer's sender: request_customer_sender Gives the name and address a customer’s letters come from
- Confirm a customer's sender: confirm_customer_sender Types the code from the letter we posted to the customer, for support staff who were given it
- Post another code to a customer: resend_customer_sender_code Posts a new code letter when the first has not arrived: the old code stops working
- Make an approval link: create_approval_link Makes a one-time link for your customer's own user to read a letter waiting for approval and approve or decline it, confirmed by a six-digit code we email to them
- Ask to close a customer: close_customer Asks for a customer that has left you to be closed
- Refusals Every refusal code: what it means and what to do next.
- Webhook events Every event, its payload, and how to check a signature.