# Stylograph API - **Get started** - [Introduction](/): Send handwritten notes from your own systems or an AI agent. - [Quickstart](/quickstart): Check the account, try a note, then send it. - [Access](/access): How to request API access while the API is in private beta. - [Authentication](/authentication): API keys, scopes and how to keep a key safe. - **Guides** - [Sending a note](/sending-a-note): Recipients, formats, handwriting, covers, QR codes and dry runs. - [Recipients](/recipients): Search the address book, add and edit people, and import a list. - [Templates](/templates): Read the message templates your team saved in the Note Composer. - [Card backs](/card-backs): Put your card back on a folded note. - [Send later](/send-later): Choose the day a note goes to print, and cancel a note before it prints. - [Note status](/note-status): Follow a note from queued to delivered, and what happens when one fails. - [Errors](/errors): Every error code the API returns, and what to do about it. - [Limits](/limits): Request rates, daily note limits and request size. - [MCP server](/mcp): Send notes from an AI agent through the Model Context Protocol. - **Integrations** - [Overview](/integrations): How to send notes from the systems you already use. - [Shopify](/integrations/shopify): Send a card a set number of days after a qualifying order, and cancel it if the order is cancelled or refunded. - [Salesforce](/integrations/salesforce): Send a note to a Salesforce Contact from a Flow, Apex or Zapier. - [HubSpot](/integrations/hubspot): Send a note to a HubSpot contact from a workflow or Zapier. - [Etsy](/integrations/etsy): Thank-you cards for Etsy orders. - [Zapier](/integrations/zapier): Send a note from any app Zapier connects to. - **Reference** - [Add a recipient without mailing them](/reference/addRecipient): Adds someone to the address book of the key's team, so a later send can name them by `recipient_id`. Nothing is mailed or charged, and no address check runs here: the send checks the address. Takes the fields a send's `recipient` takes and nothing more (never an email, notes about the person or a birthday). Someone already in the address book with the same name and address (ignoring case) is answered with their entry and `created: false`. The key's member needs a role that can change recipients (Org Admin, Team Admin or Operator). A team adds at most 1000 recipients in any 24 hours through the API. - [Cancel a queued note before the printer starts on it](/reference/cancelNote): Scope: `notes:send`. Cancels a queued note the printer hasn't started on yet, sent to print right away or for a later day, and gives back the credits it was charged. Nothing is mailed. A repeat cancel answers 200 with the note and refunds nothing more. Once the printer has it, or for a campaign note: 409 `NOTE_NOT_CANCELLABLE`. Someone else's note and an unknown id both answer 404. To change the date, cancel and send again with a new `Idempotency-Key`. - [Cancel a send-later note by the Idempotency-Key it was sent with](/reference/cancelNoteByIdempotencyKey): Scope: `notes:send`. The same cancel as DELETE /api/v1/notes/{noteId}, for a caller that knows its own key (an order number, say) and not the note id. 400 `IDEMPOTENCY_KEY_REQUIRED` without the parameter, and 404 when no note was sent with that key. - [Permanently delete a mailed note's content](/reference/deleteNoteContent): Scope: `notes:send`. PERMANENTLY deletes the content of one of your notes: its message, the recipient's name and address, and the drawing files. Nothing brings it back. The note keeps its id, status, dates and credits, and answers `content_purged: true`, with the recipient's names `null`. Works on a note that is mailed, delivered, returned, failed or cancelled; a repeat answers 200 with the note as it stands. A note still queued or printed answers 409 `NOTE_CONTENT_STILL_NEEDED`, because the printer needs it: cancel a queued note instead. Accounts with a retention setting have this done automatically some days after mailing. Someone else's note, a draft and an unknown id all answer 404. - [What the account can send now](/reference/getAccount): Credits, whether the handwriting and return address are ready, API notes left, printing capacity, the default cover, the formats with prices and limits, and this key. Every refusal a send can answer for the account's state can be read here first. Scope: `account:read`. - [One note, with its history and delivery estimate](/reference/getNote): Scope: `notes:read`. Someone else's note and an unknown id both answer 404. - [Import a list of recipients](/reference/importRecipients): Adds up to 500 people to the address book of the key's team in one step, all or nothing, without mailing anyone. Add only: a row that matches someone already in the address book is counted as `existing` and that person is left unchanged (use the Note Composer's CSV import to merge). Rows missing a name or a full address are skipped and listed. Send `dry_run: true` first to see what would happen. The key's member needs a role that can change recipients, and the team's new recipients stay within 1000 in any 24 hours: a batch that would pass that adds nobody. The body may be up to 256 KB. - [The card backs a note can carry](/reference/listCardBacks): The account's card backs that aren't archived, newest first, each with a preview signed for an hour. `is_default` marks the one a send gets when it leaves out `card_back_id`. Empty when card backs are off for the account. Scope: `notes:send`. - [The covers a note can carry](/reference/listCovers): The published library art the composer's picker offers, for a format's card. Any live key. A key with `notes:send` also gets `uploaded_covers`: the covers the account's team uploaded, newest first (up to 100), with the key a send takes. - [The stationery a letter can be written on](/reference/listLetterDesigns): The letter designs the account can send a letter on, by name, each with its version, its message limit, its safe area and a preview signed for an hour. Name one in a send's `letter_design_id`. Empty when letters aren't on for the account. Scope: `notes:send`. - [List the account's notes](/reference/listNotes): Every note the account sent (the API, the composer and campaigns), newest first, a page at a time. To poll for changes, pass the newest `updated_at` you saw as `updated_since`. Scope: `notes:read`. - [List the team's message templates](/reference/listTemplates): The message templates the key's team saved in the Note Composer, newest first, at most 100. A message may hold merge fields such as `{{first_name}}`, as written in the Note Composer: fill them in before you send, because a send refuses `{` and `}` with `UNSUPPORTED_CHARACTERS`. Read only: templates are written in the Note Composer. Needs `notes:send`. - [The writers a note can be written in](/reference/listWriters): The Writers on the key's team whose handwriting is ready, the key's own member first. An Operator's key lists every one, and may name any as a send's `writer_id`; any other key lists only its own member (`can_choose` false). Scope: `notes:send`. - [Find recipients in the address book](/reference/searchRecipients): Finds people in the account's address book, so a send can name one by `recipient_id`. Every word of `q` must appear in the first name, last name or company, without case; with no `q`, the list starts at the top of the alphabet. Archived recipients are left out. A match shows names, company, city and state, never the street lines or ZIP. Needs `notes:send`, the scope that can already send to anyone in the address book. - [Send a note](/reference/sendNote): Checks the account, the card back, the cover (or a letter's design), the address and every character, then charges the format's credits and queues the note for printing. Scope: `notes:send`, and `recipients:write` for a new `recipient`. Every send needs an `Idempotency-Key`; a dry run needs none. A note whose content check flags something, or couldn't run, is held for a person at Stylograph to look at before it prints. It shows as `queued` while it waits; if it is turned down it becomes `failed` with `failure_code: content_rejected` and its credits are refunded. - [Edit a recipient](/reference/updateRecipient): Changes one recipient of the key's team: only the fields sent. A recipient on another team, or one that was deleted, answers 404. The key's member needs a role that can change recipients. A team changes at most 200 addresses a day through the API (a name or company edit doesn't count); past that, 429 `RECIPIENT_EDIT_LIMIT_REACHED`. Stylograph keeps each edit's old fields, so a wrong edit can be put back. - [Upload a cover](/reference/uploadCover): Upload one of your own covers: one PNG, JPEG or WebP of up to 4 MB, in a multipart form field named `file`. It takes the composer's checks: re-encoded with no photo metadata (location, camera), screened before it is stored, and refused once the account's team keeps 100 uploaded covers (delete one in the Note Composer to free a slot) or has uploaded 30 images in the last hour (`IMAGE_SCREENING_RATE_LIMITED`). The answer's `key` is what a send takes as `card_image_key`, and the cover is listed under `uploaded_covers` from then on. ## OpenAPI - [OpenAPI 3.0 document](https://composer.stylograph.ai/openapi/v1.json): every route, field, scope and error code. - [Every page as one file](/llms-full.txt)