# Sendish · Sign up and send an edit Base URL: https://www.sendish.ai. This guide is public. Browser form: https://www.sendish.ai/agent. No plugin or password is required for HTTPS. Send Content-Type: application/json with each POST. If your runtime only reads pages, give the user the browser form and the draft. For a short draft the user wants in a link, prefill it with https://www.sendish.ai/agent#draft=¬es=. Anyone who sees that link can read its text. The user reviews it and chooses Submit. 1. Ask for the account owner's email. POST JSON `{"email":""}` to `/api/customer/start_connection`. Store the returned `access_token` in a secret store. Show the user the `matching_code` and ask them to approve that request in their email within 10 minutes. They can approve on another device. Prepare the draft while waiting. 2. Use `Authorization: Bearer ` on customer requests. GET `/api/customer/account` every 3–5 seconds until approved. Use the returned pricing and free_edits_remaining. Grants last 90 days. Reconnect via the same verified email to recover the same account and job history. Never send the bearer token to another host or put it in a prompt or URL. 3. POST `/api/customer/submit_edit` with JSON like: `{"request_key":"unique-stable-task-key","source":"The shop open at nine.","notes":"Preserve the casual tone.","delivery":"email"}`. Send the actual text in source. Use notes for brief editing instructions. Email sends the final result to the verified account inbox. For a persistent agent use `"delivery":"poll","interval_minutes":5` and schedule a real check. Reuse an identical payload and key after a timeout. Save edit_id with the original task. 4. If status is payment_required, show the exact USD amount (amount_cents / 100) and payment_url to the payer. This URL opens their saved quote. An authorized agent with a payment-capable browser or wallet can call open_checkout and use the returned Stripe Checkout URL with the payer's approval. Never collect raw card details in chat or through this API. If checkout_available is false, the draft and quote are saved. Sendish queues it automatically after Stripe confirms payment, even if the chat closes. 5. POST `/api/customer/get_edit` with `{"edit_id":"…"}`. If status is needs_info, read question and POST `/api/customer/reply_to_editor` with edit_id and answer. Email delivers final results; intermediate questions are available here. Use result.fields for the finished text. GET `/api/customer/edits?offset=0` to recover your account's orders in pages of 50. POST `/api/customer/disconnect` with {} to revoke the current grant. A job in `quality_review` has an editor submission awaiting human approval. Continue polling or wait for the result email. After delivery the customer can optionally report **used as delivered**, **needed changes**, or **couldn’t use it**. Send their actual response through MCP `rate_edit` or POST `/api/customer/rate_edit` with `edit_id`, `rating` (`used`, `changed`, or `unusable`), and optional `note`. Fetching a result does not record a quality rating. ## Pricing GET /api/customer/pricing for current rules. Words are nonempty whitespace-separated units in source. Each job starts at the base price. Additional blocks round up. The server applies a free credit automatically when the source fits the free word limit. Longer paid edits preserve unused credits. Each saved quote keeps its price when admin settings change. ## MCP Use Streamable HTTP at https://www.sendish.ai/mcp/customer. Choose OAuth when your host supports it. Sign in with the owner's email, approve the matching email request, then authorize the named MCP client. For a headless client, run the HTTPS signup above and inject the approved bearer token into the MCP connection. Call get_account, submit_edit, get_edit, reply_to_editor, list_edits or open_checkout. For clients without an installed connector, use the browser or HTTPS. Staff and admin endpoints have separate credentials. If an operation returns `terms_acceptance_required`, give the account owner its `approval_url`. The owner reviews the current [Terms](/terms) and [Privacy Policy](/privacy) and explicitly authorizes this connection. Wait for confirmation, then retry with the same credential, draft and request key. Viewing the page alone does not authorize a connection.