Base URL: https://api.send.io. Authenticate with Authorization: Bearer mx_.... Request and response bodies are JSON. 437 endpoints.
Moving from another provider (opened as /docs/api?guide=<provider>)? Each guide has its own page: Resend, SendGrid, Mailchimp, Mailgun, Postmark, Brevo, Mailjet.
Every endpoint with its fields, examples and notes: the full reference in Markdown.
Errors are JSON with statusCode, name and message.
| Status | name | Meaning |
|---|---|---|
| 400 | invalid_idempotency_key | The Idempotency-Key header is empty or longer than 256 characters. |
| 401 | missing_api_key | No Authorization: Bearer mx_... header. |
| 401 | invalid_api_key | The key does not exist or was revoked. |
| 401 | restricted_api_key | The key (or an app you connected with sending access) may only send email, or the key may only use its agent inbox. |
| 401 | invalid_token | An access token from the MCP sign-in was used outside the MCP server. Use an API key for the API. |
| 402 | insufficient_credits | Your credit balance is too low to send this email; nothing was sent. Buy credits in Billing. See Credits and pricing. |
| 403 | validation_error | Not allowed, for example sending from a domain that is not verified. |
| 403 | invalid_permission | The key or your role may not do this, for example a key restricted to another domain, or an action only an admin can take. |
| 403 | missing_permission | The key's permission list does not include this action, or the key is waiting for its agent to be verified. |
| 403 | ip_not_allowed | The API key has an IP allow list and the request came from another address. |
| 403 | receive_only | Free mailboxes can receive but not send for now. Send from your own domain. |
| 403 | sending_paused | Sending from this mailbox is paused. |
| 403 | free_limit | The workspace has used all its free mailboxes. Delete one, or buy credits to add more. |
| 403 | sending_suspended | Sending is suspended for this workspace because of its sending reputation. See Sending reputation. |
| 403 | subaccount_suspended | This subaccount is suspended, so it cannot send. |
| 404 | not_found | No such resource in this team. |
| 405 | method_not_allowed | The path exists but does not take this HTTP method, for example DELETE /mailboxes without a mailbox ID. |
| 409 | concurrent_idempotent_requests | A request with the same Idempotency-Key has not finished yet. Retry later to get its response. |
| 409 | invalid_idempotent_request | The Idempotency-Key was used in the last 24 hours with a different body. Use a new key. |
| 409 | conflict | The request conflicts with the resource as it is now: it already exists, it changed since you read it, or its state does not allow this. |
| 409 | resource_in_use | Something else uses this resource, such as a broadcast or workflow. Remove it from there before deleting it. |
| 409 | domain_ownership_required | The domain name is held unverified by another workspace: publish the TXT record shown to prove you control it, then add it again. |
| 409 | concurrent_modification | Someone else changed the resource at the same time. Reload it and try again. |
| 413 | validation_error | The request body is too large. |
| 415 | unsupported_media_type | The body is compressed with a Content-Encoding send.io does not read (such as br or zstd). Send it uncompressed, or with gzip or deflate. |
| 422 | invalid_parameter | A parameter has the wrong type or format, such as a malformed id in the path. |
| 422 | missing_required_field | A required field is missing from the body. |
| 422 | validation_error | The request is well formed but its values are not valid. |
| 422 | invalid_attachment | An attachment cannot be used: too large, a blocked file type, or its path could not be fetched. |
| 422 | unknown_merge_tags | The content uses merge tags that are not contact fields or properties. |
| 429 | rate_limit_exceeded | More than 10 requests per second for your team. Retry after a moment. |
| 429 | daily_quota_exceeded | A daily sending limit is used up: the one until your first credit purchase, or the one for new paid accounts (5,000 emails a day for the first 7 days after the first purchase, by default). It resets at 00:00 UTC; GET /billing/balance shows it as daily_limit. See Credits and pricing. |
| 429 | subaccount_daily_quota_exceeded | A subaccount reached its own daily sending limit. |
| 429 | subaccount_monthly_quota_exceeded | A subaccount reached its own monthly sending limit. |
| 429 | daily_limit | A free mailbox reached its daily sending limit. It resets at 00:00 UTC. Send from your own domain for more. |
| 500 | application_error | Something went wrong on our side. Retry later; if it keeps happening, contact support. |
| 503 | billing_provider_error | The payment provider refused a billing request or could not be reached. Nothing was charged by this request; try again in a minute. |
| 503 | service_unavailable | A dependency is not configured or is down. Retry later. |
Send transactional email, one at a time or in batches, and look up what you sent.
POST /emails. Queue an email for delivery.POST /emails/batch. Send up to 100 emails in one request.POST /emails/raw. Send a complete RFC 5322 (MIME) message you built yourself.GET /emails/{email_id}. Get one sent email, including its body, recipients and latest status.GET /emails. List sent emails, newest first.GET /emails/{email_id}/events. The timeline of one email, oldest first: queued or scheduled, sent, delivered, delivery_delayed, bounced, complained, opened, clicked, failed, suppressed, canceled and unsubscribed, per recipient, with detail.GET /emails/events. Your team's email events, newest first, across all emails.PATCH /emails/{email_id}. Change when a scheduled or queued email is sent.POST /emails/{email_id}/cancel. Cancel a scheduled or queued email before it is sent.GET /emails/batches/{batch_id}. Count the emails of a batch by status.POST /emails/batches/{batch_id}/cancel. Cancel every email of a batch that is still scheduled.GET /emails/metrics. Counts and rates for the emails you sent in a period, by period and optionally broken down by domain, email, broadcast, tag, sender or mailbox provider.GET /emails/tags. The tags on emails you sent in a period, most used first, with how many emails carry each.GET /emails/{email_id}/attachments. List the attachments of a sent email.GET /emails/{email_id}/attachments/{attachment_id}. Get one attachment of a sent email, with a signed download link valid for one hour.POST /emails/{email_id}/share. Create a public, read-only link that shows the email's subject, sender and body.Email that arrives at your domains when receiving is turned on (the domain's MX record points at send.io). Webhooks send email.received as it arrives. A message may be up to 50 MB, attachments included; the MX refuses a larger one at once with 552 5.3.4, so the sender gets a bounce instead of the mail going missing.
GET /emails/receiving. List received emails, newest first.GET /emails/receiving/{email_id}. Get one received email with its HTML and text bodies, headers and attachments.GET /emails/receiving/{email_id}/attachments. List the attachments of a received email.POST /emails/receiving/{email_id}/retry. Run the inbound routes again for a received email: forward_url actions deliver the message again (a new delivery), forward_email actions send it again, and a store action makes a forward-only message visible.GET /emails/receiving/{email_id}/attachments/{attachment_id}. Get one attachment of a received email, with a signed download link valid for one hour.Rules for mail arriving at your receiving domains and inboxes: forward it to a URL with the full parsed message, forward it to another address, store it, or stop. Routes run by priority (lower first), then creation time.
POST /inbound/routes. Create a route.GET /inbound/routes. List every route in the order they run (priority, then creation time).GET /inbound/routes/{route_id}. Get one route, including its signing secret.PATCH /inbound/routes/{route_id}. Change a route.DELETE /inbound/routes/{route_id}. Delete a route.POST /inbound/routes/test. Show which routes a message with these recipients and headers would match, the actions that would run, and whether it would be stored.GET /inbound/routes/{route_id}/deliveries. List the route's forward_url deliveries, newest first, with their status (pending, success, failed).GET /inbound/routes/{route_id}/deliveries/{delivery_id}. Get one forward_url delivery of the route, with its status and the payload that was posted.GET /inbound/routes/{route_id}/deliveries/{delivery_id}/attempts. List the HTTP attempts of one delivery, newest first.Add and verify the domains you send from, and manage their tracking settings.
POST /domains. Add a domain.GET /domains/{domain_id}. Get one domain with its DNS records, their status, and its setup history.GET /domains. List your domains, newest first.PATCH /domains/{domain_id}. Change a domain's tracking, TLS and receiving settings.POST /domains/{domain_id}/verify. Check the domain's DNS records now instead of waiting for the next automatic check (every minute).DELETE /domains/{domain_id}. Remove a domain.GET /domains/{domain_id}/domain-connect. Check whether the domain's DNS provider supports one-click setup (Domain Connect).GET /domains/{domain_id}/dns-context. Check what the domain's DNS already holds that matters when you add send.io's records: the other email services its records name, each with the record that says so, and anything that is in the way of a record send.io needs.Create and manage the keys that authenticate API requests.
POST /api-keys. Create a new API key.GET /api-keys. List active API keys, newest first.GET /api-keys/{api_key_id}. Get one API key and its usage over the last 30 days: request counts, top endpoints and the 25 latest requests.PATCH /api-keys/{api_key_id}. Rename an API key, or change the IP addresses it may be used from.DELETE /api-keys/{api_key_id}. Revoke an API key.GET /api-keys/client-ip. The public IP address send.io sees your request coming from: the address to put in a key's allowed_ips.The apps your team approved to act on its behalf through Sign in with send.io, such as an AI app using the MCP server or the CLI. The dashboard lists them as Connected apps on the API keys page.
GET /oauth/grants. List the team's OAuth grants, newest first, including revoked ones.DELETE /oauth/grants/{grant_id}. Revoke an OAuth grant.GET /connected-apps. The team's active OAuth grants in the shape the dashboard's Connected apps list shows: the app, the permission it was given, who approved it and when it was last used.Child accounts for platforms and resellers. A subaccount is a separate account with its own domains, API keys, suppressions, templates, webhooks, emails and metrics; none of it is visible to its parent or to other subaccounts. Its sending counts toward your plan's quota, and it can have limits of its own. Manage subaccounts with a full-access key of the parent account. To call any endpoint as one of your subaccounts, add the header X-Sendio-Subaccount: <subaccount_id> to a request made with that key.
POST /subaccounts. Create a subaccount.GET /subaccounts. List your active subaccounts, newest first.GET /subaccounts/{subaccount_id}. Get one subaccount.PATCH /subaccounts/{subaccount_id}. Rename a subaccount or change its limits.DELETE /subaccounts/{subaccount_id}. Delete a subaccount.POST /subaccounts/{subaccount_id}/suspend. Stop a subaccount from sending.POST /subaccounts/{subaccount_id}/resume. Let a suspended subaccount send again.POST /subaccounts/{subaccount_id}/api-keys. Create an API key for a subaccount.GET /subaccounts/{subaccount_id}/api-keys. List a subaccount's active API keys, newest first.DELETE /subaccounts/{subaccount_id}/api-keys/{api_key_id}. Revoke one of a subaccount's API keys.GET /subaccounts/{subaccount_id}/stats. A subaccount's usage in the current billing period against its limits and your plan, and its email metrics.Get an HTTP POST to your endpoint when emails, domains, contacts and other resources change.
POST /webhooks. Register an endpoint for one or more event types.GET /webhooks. List your webhooks, newest first.GET /webhooks/{webhook_id}. Get one webhook, including its current signing secret.PATCH /webhooks/{webhook_id}. Change a webhook's endpoint, events or status.DELETE /webhooks/{webhook_id}. Delete a webhook.POST /webhooks/{webhook_id}/signing-secret/rotate. Create a new signing secret.POST /webhooks/{webhook_id}/recover. Send the events a webhook missed while it was disabled.GET /webhooks/{webhook_id}/events. List the events sent (or being sent) to a webhook, newest first, with their delivery status and payload.GET /webhooks/{webhook_id}/events/{event_id}. Get one event of a webhook, with its delivery status and payload.POST /webhooks/{webhook_id}/events/{event_id}/replay. Send an event to the webhook's endpoint once more, with the same payload.GET /webhooks/{webhook_id}/events/{event_id}/attempts. List each attempt to deliver one event, newest first, with your endpoint's HTTP status and response.Sender identities: a From address with its display name, reply-to and postal address. A sender on a verified domain is verified at once; any other address is confirmed by a link emailed to it. Use one on a send with sender_id.
POST /senders. Add a sender.GET /senders. List senders, newest first.GET /senders/{sender_id}. Get one sender by id or by address.PATCH /senders/{sender_id}. Change a sender's fields.DELETE /senders/{sender_id}. Delete a sender.POST /senders/{sender_id}/resend-verification. Send a new confirmation email (the previous link stops working).Message streams separate kinds of mail, as Postmark's do: every team has outbound (transactional), broadcast and inbound, and you can add your own transactional and broadcast streams. Sends name one with stream; emails, metrics, suppressions and webhooks can be filtered by it.
GET /streams. List the team's streams, the default ones first.POST /streams. Add a transactional or broadcast stream.GET /streams/{stream_id}. Get one stream by its stream_id (or uuid).PATCH /streams/{stream_id}. Rename a stream or change its description.POST /streams/{stream_id}/archive. Archive a custom stream: sends that name it answer 422 until it is unarchived.POST /streams/{stream_id}/unarchive. Make an archived stream usable again.DELETE /streams/{stream_id}. Delete a custom stream.Addresses you never send to. Hard bounces and complaints are added for you, soft bounces for 24 hours; you can also add and remove addresses yourself, and keep an allow-list of addresses and domains that are never suppressed.
POST /suppressions. Add an address to the suppression list.GET /suppressions. List suppressed addresses, newest first.GET /suppressions/{suppression_id}. Get one suppression entry by its id or by the email address.DELETE /suppressions/{suppression_id}. Remove an address from the suppression list so you can send to it again.DELETE /suppressions. Remove every suppression that matches the filters (expired ones included) and get the count.POST /suppressions/batch/add. Add up to 100 addresses in one request.POST /suppressions/batch/remove. Remove up to 100 entries in one request, by email address or by id.POST /suppressions/allowlist. Add an address or a whole domain that is never suppressed.GET /suppressions/allowlist. List allow-list entries, newest first.GET /suppressions/allowlist/{entry_id}. Get one allow-list entry by its id, address or domain.DELETE /suppressions/allowlist/{entry_id}. Remove an allow-list entry.Reusable email designs with variables. Edits create a new draft version; publish it to use it in a transactional email or a broadcast. A template is the content: its From, subject, preview text and Reply-To are optional defaults, so it can be published without them. Templates use the simple engine ({{NAME}}) by default, or handlebars for conditions, loops and helpers.
POST /templates. Create a template.GET /templates/{template_id}. Get a template by id or alias.GET /templates. List templates, newest first.PATCH /templates/{template_id}. Change a template.POST /templates/{template_id}/publish. Publish the current draft so sends use it.POST /templates/{template_id}/unpublish. Take a template's published version back to a draft, so sends that name the template fail until it is published again.GET /templates/{template_id}/publish-impact. What publishing a version would change for what sends the template now, compared with the version published now.POST /templates/{template_id}/duplicate. Copy a template into a new draft template named "<name> (copy)".POST /templates/{template_id}/test. Send the template to up to 5 addresses to check how it looks.POST /templates/{template_id}/render. Fill a template with variables and return the result, without sending.POST /templates/{template_id}/check. Check a template version before you publish or send it: undeclared variables, broken handlebars, links, accessibility, size and how email clients render it.POST /templates/check. Run the same checks as Check template on content that is not saved yet, such as a file in your repository before you push it.GET /templates/{template_id}/stats. Delivery and engagement of the emails sent with a template in a period: totals and rates, a series per day (or hour), the split by version and the most clicked links.GET /templates/{template_id}/versions. Every saved version of a template, newest first.GET /templates/{template_id}/versions/{version_id}. One version with its full content and variables.PATCH /templates/{template_id}/versions/{version_id}. Rename a version or change its comment.POST /templates/{template_id}/versions/{version_id}/activate. Make this version the published one, so sends use it.DELETE /templates/{template_id}/versions/{version_id}. Remove a version from the list.DELETE /templates/{template_id}. Delete a template.Contacts are the people you send broadcasts to. A team has one contact per email address, and a contact can be in many segments and subscribed to topics.
GET /audience/stats. Counts for the whole audience: contacts, subscribed and unsubscribed, then the contacts and subscribed contacts of each segment and the subscribers of each topic, newest first.POST /contacts. Create a contact.GET /contacts/{contact_id}. Get a contact by id or by email address.GET /contacts. List contacts, newest first.PATCH /contacts/{contact_id}. Update a contact by id or by email address.DELETE /contacts/{contact_id}. Permanently delete a contact by id or by email address.GET /contacts/{contact_id}/segments. List the segments a contact belongs to, with its status in each (send.io extension).POST /contacts/{contact_id}/segments/{segment_id}. Add a contact to a segment.DELETE /contacts/{contact_id}/segments/{segment_id}. Remove a contact from a segment.GET /contacts/{contact_id}/topics. List every topic with the contact's subscription to it.PATCH /contacts/{contact_id}/topics. Set a contact's subscription to one or more topics.POST /contacts/imports. Upload a CSV file of contacts, or create the import with upload = url (the example) and PUT the file to its upload_url next.GET /contacts/imports. List the workspace's contact imports, newest first, with their status and row counts (the console's Contacts > Imports).GET /contacts/imports/{import_id}. Get the status, options and row counts of a contact import.POST /contacts/imports/{import_id}/start. Start a staged import.PUT /uploads/{token}. The upload_url of an import created with upload = url: PUT the CSV as the raw body (gzip accepted).GET /contacts/export. Download contacts as CSV (or JSON lines).The older Resend audience API, kept for existing code and SDKs. On send.io an audience is a segment: the same records, ids and data. Use Segments and Contacts for new code.
POST /audiences. Create an audience.GET /audiences/{audience_id}. Get an audience by id.GET /audiences. List audiences, newest first.PATCH /audiences/{audience_id}. Rename an audience.DELETE /audiences/{audience_id}. Delete an audience.POST /audiences/{audience_id}/contacts. Create a contact and add it to the audience.GET /audiences/{audience_id}/contacts. List the contacts in an audience, newest first.GET /audiences/{audience_id}/contacts/{contact_id}. Get a contact by id or by email address.PATCH /audiences/{audience_id}/contacts/{contact_id}. Update a contact by id or by email address.DELETE /audiences/{audience_id}/contacts/{contact_id}. Permanently delete the contact.A segment is a group of contacts that broadcasts are sent to. A manual segment is a list you keep: add and remove contacts with the contact segment endpoints. A rule-based segment (send.io extension) keeps itself up to date: its members are the contacts that match its rule, such as "plan is pro and last logged in more than 30 days ago". When a contact changes, an event arrives or a time in the rule passes, the contact joins or leaves within a few seconds, not inside the request that made the change.
POST /segments. Create an empty manual segment, or a rule-based segment that fills itself from its rule.GET /segments/{segment_id}. Get a segment by id, with its member counts now.GET /segments. List segments, newest first.PATCH /segments/{segment_id}. Rename a segment, or change the rule of a rule-based segment.DELETE /segments/{segment_id}. Delete a segment.POST /segments/preview. send.io extension.POST /segments/{segment_id}/recount. send.io extension.GET /segments/{segment_id}/contacts. List the contacts in a segment, newest first.PATCH /segments/{segment_id}/contacts/{contact_id}. send.io extension.Topics are subscription preferences, such as "Product updates". An opt_in topic reaches every contact who has not opted out; an opt_out topic reaches only contacts who opted in.
POST /topics. Create a topic.GET /topics/{topic_id}. Get a topic by id.GET /topics. List topics, newest first.PATCH /topics/{topic_id}. Change a topic's name, description or visibility.DELETE /topics/{topic_id}. Delete a topic.Contact properties define the custom fields a contact can have, such as company. Define a property before you set it on contacts, and use it in broadcasts as {{{contact.company}}}. A property has one of four types: string, number, boolean or date.
POST /contact-properties. Define a custom contact property.GET /contact-properties/{contact_property_id}. Get a contact property by id.GET /contact-properties. List contact properties, newest first.PATCH /contact-properties/{contact_property_id}. Change a property's fallback value.DELETE /contact-properties/{contact_property_id}. Delete a property.A broadcast sends one email to every subscribed contact in a segment, personalized per contact, with an unsubscribe link and one-click List-Unsubscribe headers. Statuses: draft, scheduled, queued (sending), sent and canceled.
POST /broadcasts. Create a draft broadcast.GET /broadcasts/{broadcast_id}. Get a broadcast by id, including its content.GET /broadcasts. List broadcasts, newest first.PATCH /broadcasts/{broadcast_id}. Update a draft or scheduled broadcast.DELETE /broadcasts/{broadcast_id}. Delete a draft or scheduled broadcast.POST /broadcasts/{broadcast_id}/send. Send a draft broadcast now, or schedule it with scheduled_at.POST /broadcasts/{broadcast_id}/cancel. Stop a broadcast.POST /broadcasts/{broadcast_id}/pause. Pause a sending (queued) broadcast after the batch in flight.POST /broadcasts/{broadcast_id}/resume. Resume a paused broadcast from the next recipient.POST /broadcasts/{broadcast_id}/continue. Continue a broadcast that stopped part way: one that was canceled while sending, or failed with failed_reason insufficient_credits or send_error.POST /broadcasts/{broadcast_id}/duplicate. Copy a broadcast into a new draft with the same segment, topic, sender, content and tracking setting.GET /broadcasts/{broadcast_id}/versions. Every saved version of a broadcast, newest first.GET /broadcasts/{broadcast_id}/versions/{version}. One version with its full content, sender and audience.PATCH /broadcasts/{broadcast_id}/versions/{version}. Rename a version or change its comment.POST /broadcasts/{broadcast_id}/versions/{version}/restore. Copy a saved version (content, sender and audience) back into a draft or scheduled broadcast.POST /broadcasts/estimate. How many contacts an audience reaches right now, before you create or send the broadcast, and how many it skips because their address is marked invalid.POST /broadcasts/{broadcast_id}/test. Send a test of a broadcast to up to 5 addresses.GET /broadcasts/{broadcast_id}/stats. The numbers of a broadcast: how many it was sent and delivered to, opens, clicks, bounces, complaints and unsubscribes, with rates and sending progress.GET /broadcasts/{broadcast_id}/recipients. The recipients of a broadcast, all of them or for one event: who it was sent or delivered to, who opened or clicked, bounced, complained, unsubscribed, or was suppressed.GET /broadcasts/{broadcast_id}/clicked-links. The links clicked in a broadcast, most clicked first, with total clicks and the number of recipients who clicked.The branding of the page contacts see when they open a broadcast's unsubscribe link, where they can unsubscribe or change topic preferences.
GET /unsubscribe-page. Get your unsubscribe page settings.PATCH /unsubscribe-page. Change your unsubscribe page settings.A transactional email is a named, saved send of a published template: a sign-in code, a password reset, a receipt. It stores the From, subject, preview text, Reply-To and tracking; its content is always the template's published version. Your application sends it with POST /emails and transactional_id, passing only the recipient and the variables. Not to be confused with the transactional message stream or workflow templates of kind transactional.
POST /transactional. Save a transactional email on a published template.GET /transactional. List the team's transactional emails, newest first.GET /transactional/{id}. Get one transactional email, with the variables of the template version its sends use now.PATCH /transactional/{id}. Change a transactional email.DELETE /transactional/{id}. Delete a transactional email.POST /transactional/{id}/test. Send the transactional email now to 1 to 5 addresses, as a send would make it, with "[Test] " before the subject.GET /transactional/{id}/stats. Delivery and engagement of a transactional email's sends in a period: totals and rates, a series per day (or hour), the split by template version and the most clicked links.Automations that start on an event or contact change and then send emails, wait, branch and update contacts. Compatible with Resend's automations API (steps and connections), plus send.io extensions: drafts, versions, pause and resume, validation, test runs and metrics.
POST /automations. Creates an automation.GET /automations. Lists the team's automations, newest first.GET /automations/{id}. Returns an automation with its graph.PATCH /automations/{id}. Changes the name, settings or graph, or turns the automation on or off with status.DELETE /automations/{id}. Deletes a stopped automation.POST /automations/{id}/duplicate. Copies the automation's latest graph, type, topic and settings into a new disabled automation named "<name> (copy)".POST /automations/{id}/stop. Disables the automation so no new runs start.POST /automations/{id}/enable. Validates the draft, saves it as a new version if it changed, and turns the automation on.POST /automations/{id}/pause. Pauses an enabled automation.POST /automations/{id}/resume. Turns a paused automation back on.GET /automations/{id}/draft. Returns the editable draft graph and its current validation issues (issues is null when there are none).PUT /automations/{id}/draft. Replaces the draft graph (and optionally name, type, topic and settings).POST /automations/{id}/validate. Checks the draft, or a graph you send, without saving anything.POST /automations/{id}/test. Runs the draft for one contact.POST /automations/http/import. Turns a cURL command, or an HTTP Request node copied from n8n, into the config of an HTTP request (webhook) step.POST /automations/http/test. Sends one real request with an HTTP request step's config, filled in for a contact and a sample event, and returns what came back.GET /automations/signing-secret. Returns the secret that signs every HTTP request step of the team, so your endpoint can check a request really came from your send.io automations.POST /automations/signing-secret/rotate. Replaces the team's HTTP request signing secret with a new one and returns it.GET /automations/{id}/versions. Lists the versions saved each time the automation was enabled with a changed graph, newest first.GET /automations/{id}/versions/{n}. Returns one saved version: its graph, settings, type and topic.GET /automations/{id}/runs. Lists the automation's runs (one per contact entry), newest first.GET /automations/{id}/runs/{run_id}. Returns one run with every step it went through, including outputs and errors.POST /automations/{id}/runs/{run_id}/cancel. Ends one run in progress.GET /automations/{id}/metrics. Run counts, per-step counts and delivery stats of the emails the automation sent, for a time range.GET /automation-templates. Prebuilt automations with their emails, owned by send.io.GET /automation-templates/{slug}. One template in full: its steps, emails (subject, preview, HTML, themed with your team's brand), the waits and links setup asks for, and each event's schema and status in your team.POST /automations/from-template. Sets up a template in one transaction: creates the events your team does not have (or adds the template's fields to ones it has), the automation's emails, and the automation, disabled.GET /automations/{id}/emails. The automation emails the automation owns, in the order its steps send them.POST /automations/{id}/emails/{email}/insert-template. Copies a saved template's subject, preview text, body and variables into the automation email and publishes it.POST /automations/{id}/emails/{email}/save-as-template. Copies the automation email into a new draft template in Templates.Custom events are things that happened in your product (user.created, order.paid) for one contact. Sending an event starts automations that trigger on it and wakes runs waiting for it. send.io also keeps a summary per contact and event name: when it first happened, when it last happened and how many times. Rule-based segments read this summary (events.<name>.last_at, .first_at, .count). Compatible with Resend's events API.
POST /events/send. Records an event for one contact and starts any automation it triggers.POST /events/import. Loads the history of events that happened before you started sending them, one item per contact and event: when it last happened and, optionally, when it first happened and how many times.POST /events. Defines an event name and, optionally, the types of its payload fields.GET /events. Lists the team's event definitions, newest first.GET /events/{id}. Returns one event definition, by ID or by name.PATCH /events/{id}. Replaces the event's schema.DELETE /events/{id}. Deletes an event definition.GET /events/{id}/recent. Returns the last 20 events received with this name, with their payloads.A mailbox is an address on one of your verified domains. Every mailbox works over the API and also has IMAP and SMTP login, so you can use it from any mail client.
GET /mailboxes. Lists the team's mailboxes with 30-day sending stats and a health rating, most recently used first.POST /mailboxes. Adds a mailbox on a verified domain.DELETE /mailboxes/{id}. Deletes the mailbox.POST /mailboxes/{id}/password. Sets a new IMAP/SMTP password and returns it once.Agent inboxes are email addresses your AI agents create and use through the API. Mail sent to an inbox is filed into threads; the agent reads, sends, replies and forwards. An inbox can live on your own verified domain or on send.io's shared agent domain, which needs no DNS setup.
POST /inboxes. Creates an inbox.GET /inboxes. Lists the team's inboxes, newest first, with thread and unread counts.GET /inboxes/{id}. Returns one inbox, by ID or by address.PATCH /inboxes/{id}. Changes the display name or how long messages are kept.DELETE /inboxes/{id}. Deletes the inbox: the address stops receiving and pending drafts are discarded.GET /inboxes/{id}/messages. Lists the inbox's newest messages, received and sent, without bodies.GET /inboxes/{id}/messages/{message}. Returns one message of the inbox with its HTML and text bodies, headers and attachment list.POST /inboxes/{id}/messages. Sends a new email from the inbox and starts a new thread.GET /inboxes/{id}/messages/{message}/attachments/{attachment}. Returns an attachment's details, its extracted text when available, and a signed download link.GET /inboxes/{id}/threads. Lists the inbox's threads, newest activity first.GET /inboxes/{id}/threads/{thread}. Returns a thread of the inbox with all its messages (received and sent), oldest first, with bodies.POST /inboxes/{id}/threads/{thread}/reply. Replies to the newest message in the thread, from the inbox.POST /inboxes/{id}/threads/{thread}/forward. Forwards the thread's newest message, quoted below your note, as a new thread.GET /inboxes/{id}/metrics. Sent, delivered, bounced and received counts per day, with totals.GET /inboxes/{id}/events. Lists message events of the inbox (received, sent, delivered, bounced, complained, opened, rejected), newest first.GET /inboxes/{id}/rates. Delivery, bounce, complaint, rejection and open rates of the inbox's sent mail for a time range.GET /inboxes/{id}/webhooks. Lists the webhooks limited to this inbox.POST /inboxes/{id}/webhooks. Creates a webhook that only fires for this inbox.DELETE /inboxes/{id}/webhooks/{webhook_id}. Deletes a webhook of this inbox.GET /inboxes/{id}/api-keys. Lists the active API keys limited to this inbox.POST /inboxes/{id}/api-keys. Creates an API key that can only use this inbox.Drafts let an agent write an email that a person approves before it goes out, or that sends itself at a set time.
POST /inboxes/{id}/drafts. Creates a pending draft.GET /inboxes/{id}/drafts. Lists the inbox's drafts, newest first.GET /inboxes/{id}/drafts/{draft}. Returns one draft.PATCH /inboxes/{id}/drafts/{draft}. Changes a pending draft.DELETE /inboxes/{id}/drafts/{draft}. Discards a pending draft.POST /inboxes/{id}/drafts/{draft}/restore. Undoes a discard: the draft is pending again and waits for approval.POST /inboxes/{id}/drafts/{draft}/send. Approves a pending draft and sends it now.Allow and block lists control who an inbox may send to and receive from. Blocked entries always lose; once any allow entry exists, only allowed addresses pass.
GET /inboxes/{id}/lists. Lists the inbox's entries, plus team-wide entries (shown with inbox_id null).POST /inboxes/{id}/lists. Adds an email address or domain to the inbox's send or receive list.DELETE /inboxes/{id}/lists/{entry}. Removes an entry from the inbox's lists.The unified inbox: every received conversation across all your mailboxes and agent inboxes, grouped into threads.
GET /inbox/mailboxes. Lists every address that has threads, with its unread and thread counts, the labels in use and the agent inboxes with theirs, plus team totals.GET /inbox/threads. Lists threads across all addresses, newest activity first.GET /inbox/threads/{id}. Returns a thread with all its received and sent messages, oldest first, with bodies.PATCH /inbox/threads/{id}. Marks a thread read or unread, archives, trashes or relabels it.POST /inbox/threads/{id}/reply. Replies to the newest message in the thread with threading headers set.POST /inbox/threads/{id}/forward. Forwards one message of the thread with its attachments, your note above it and a forwarded header (From, Date, Subject, To, Cc).Pods are isolated groups of inboxes, for example one per end customer of your platform. A pod key can only see its own inboxes.
POST /pods. Creates a pod.GET /pods. Lists the team's pods, newest first, with their inbox counts.GET /pods/{pod}. Returns one pod.DELETE /pods/{pod}. Deletes an empty pod.GET /pods/{pod}/inboxes. Lists the inboxes in the pod.POST /pods/{pod}/inboxes. Creates an inbox in the pod.POST /pods/{pod}/api-keys. Creates an API key that can only use this pod and its inboxes.The shared agent domain, and AgentID apps: OAuth/OpenID clients that let your app sign users in with their agent inbox.
GET /agent-domain. Returns the shared agent domain (domain), the free mailbox domain (free_mailbox_domain, null when free mailboxes are off) and the domain a new inbox gets when you give none (default_domain).GET /sending-environment. Says whether this environment delivers only to test addresses, and which one to send tests to.GET /agentid/apps. Lists the team's registered AgentID apps, newest first.POST /agentid/apps. Registers an app that can sign agents in.DELETE /agentid/apps/{id}. Deletes an AgentID app.Every request your team makes to the send.io API: method, path, status, key, IP and client, newest first. Kept for 30 days.
GET /logs. Lists the team's API requests, newest first.GET /logs/{log_id}. Gets one API request by id, with what was sent and answered.Images you host on send.io for use in templates and emails.
GET /brand. The team's brand: its name, logo and colours, as the template editor uses them.POST /assets. Uploads an image and returns a permanent public URL to use in your emails.A Model Context Protocol server, so AI assistants and agents can use send.io as tools with your API key.
POST /mcp. JSON-RPC 2.0 over HTTP.One prepaid credit balance pays for every service. Sending an email costs credits per recipient (1 by default); other services are listed with their price and say when they are not charged yet. A subaccount draws on its parent's balance. When the balance runs out, sends answer 402 insufficient_credits. See Credits and pricing.
GET /billing/balance. The credit balance your team can spend, with lifetime totals.GET /billing/pricing. What each service costs in credits, the monthly plans, and the credit packs and custom amount when they are on sale.GET /billing/pricing/custom. The exact price of buying a custom number of credits: the amount the checkout charges, before tax.GET /billing/transactions. Every change to the balance, newest first: purchases, grants, usage, refunds and corrections.GET /billing/usage. Credits used per day and service, with totals for the period.GET /usage. What the account has used against its limits: emails sent today and this billing period, contacts, segments, broadcasts, domains, automation runs and the API rate limit.GET /billing/purchases. Credit purchases with their payment status, Stripe invoice and receipt, newest first.Your team's hard bounce and complaint rates against the limits of its volume tier, over the last 24 hours and 7 days (the worse decides). At 80% of a limit the team is in warning; at the limit it is suspended and sends answer 403 sending_suspended until our team reviews it. See Sending reputation.
GET /reputation. The team's reputation state, since when, its volume tier, the worst rate against its limit, both windows, and today's bulk (broadcast and automation) cap.An inbox is an email address your agent sends and receives from. The inbox address is its inbox_id in every path.
GET /v0/inboxes. Lists the inboxes in your organization, newest first.GET /v0/inboxes/search. Lists inboxes whose address, display name or client ID contains the search text.POST /v0/inboxes. Creates an inbox.GET /v0/inboxes/{inbox_id}. Gets one inbox.PATCH /v0/inboxes/{inbox_id}. Changes an inbox's display name, metadata or message retention.DELETE /v0/inboxes/{inbox_id}. Deletes an inbox.POST /v0/inboxes/{inbox_id}/authorize. Approves a "Sign in with AgentID" request for this inbox, so the agent can log in to a third-party app with its email address.POST /v0/inboxes/{inbox_id}/id-jag. Mints a 5 minute identity assertion (ID-JAG) for another auth.md service, so this agent can register there without a sign-up form.DELETE /v0/inboxes/{inbox_id}/id-jag. Tells every service this agent registered at with an ID-JAG that the delegation ended (a Security Event Token to each service's events endpoint), and forgets them.Messages sent and received by an inbox. Send a new message, reply, forward, label and read attachments.
GET /v0/inboxes/{inbox_id}/messages. Lists the inbox's sent and received messages, newest first.GET /v0/inboxes/{inbox_id}/messages/search. Same as List messages, but only messages whose subject, preview, sender, recipients or extracted text contain the search text.POST /v0/inboxes/{inbox_id}/messages/send. Sends a new message from the inbox.POST /v0/inboxes/{inbox_id}/messages/batch-get. Gets up to 100 messages with their bodies in one call.PATCH /v0/inboxes/{inbox_id}/messages/batch. Adds and removes labels on up to 100 messages at once.GET /v0/inboxes/{inbox_id}/messages/{message_id}. Gets one message with its text and HTML bodies.PATCH /v0/inboxes/{inbox_id}/messages/{message_id}. Adds and removes labels on a message.DELETE /v0/inboxes/{inbox_id}/messages/{message_id}. Moves the message to trash.GET /v0/inboxes/{inbox_id}/messages/{message_id}/raw. Gets the original RFC 822 source of a received message.POST /v0/inboxes/{inbox_id}/messages/{message_id}/reply. Sends a reply in the message's thread.POST /v0/inboxes/{inbox_id}/messages/{message_id}/reply-all. Like Reply to message, but also copies everyone else on the original To and CC lines (except this inbox).POST /v0/inboxes/{inbox_id}/messages/{message_id}/forward. Forwards the message to new recipients.GET /v0/inboxes/{inbox_id}/messages/{message_id}/attachments/{attachment_id}. Gets an attachment's details and a signed download link that works for one hour.A thread groups a message and its replies. Read threads per inbox, or across every inbox in the organization with /threads.
GET /v0/inboxes/{inbox_id}/threads. Lists the inbox's threads, most recent activity first.GET /v0/inboxes/{inbox_id}/threads/search. Lists the inbox's threads whose subject, preview, senders or recipients contain the search text.GET /v0/inboxes/{inbox_id}/threads/{thread_id}. Gets a thread with all its messages, oldest first, including bodies.PATCH /v0/inboxes/{inbox_id}/threads/{thread_id}. Adds and removes labels on a thread.DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}. Moves the thread to trash.GET /v0/inboxes/{inbox_id}/threads/{thread_id}/attachments/{attachment_id}. Gets an attachment from any message in the thread, with a signed download link that works for one hour.GET /v0/threads. Lists threads across every inbox in the organization, most recent activity first.GET /v0/threads/search. Searches threads across every inbox by subject, preview, senders and recipients.GET /v0/threads/{thread_id}. Gets a thread by ID without knowing its inbox, with all its messages.PATCH /v0/threads/{thread_id}. Adds and removes labels on a thread by ID.DELETE /v0/threads/{thread_id}. Moves the thread to trash, or removes it for good when it is already in trash.GET /v0/threads/{thread_id}/attachments/{attachment_id}. Gets an attachment from a thread by ID, with a signed download link that works for one hour.Drafts let an agent write a message that a human reviews before it goes out, or that sends itself at send_at.
GET /v0/inboxes/{inbox_id}/drafts. Lists the inbox's unsent drafts (pending, sending or failed), newest first.POST /v0/inboxes/{inbox_id}/drafts. Creates a draft.GET /v0/inboxes/{inbox_id}/drafts/{draft_id}. Gets one draft.PATCH /v0/inboxes/{inbox_id}/drafts/{draft_id}. Changes a pending draft.DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}. Discards a pending draft so it is never sent.POST /v0/inboxes/{inbox_id}/drafts/{draft_id}/send. Sends a pending draft now.GET /v0/drafts. Lists unsent drafts across every inbox in the organization, newest first.GET /v0/drafts/{draft_id}. Gets a draft by ID without knowing its inbox.Allow and block lists for one inbox. Each list has a direction (send, receive or reply) and a type (allow or block). Entries are email addresses or domains.
GET /v0/inboxes/{inbox_id}/lists/{direction}/{type}. Lists the entries on one of the inbox's lists, sorted by entry.POST /v0/inboxes/{inbox_id}/lists/{direction}/{type}. Adds an email address or domain to the list.GET /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}. Gets one entry from the list.DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}. Removes an entry from the list.Webhooks limited to one inbox. send.io posts events such as message.received to your URL.
GET /v0/inboxes/{inbox_id}/webhooks. Lists the webhooks that cover this inbox, newest first.POST /v0/inboxes/{inbox_id}/webhooks. Creates a webhook for this inbox.GET /v0/inboxes/{inbox_id}/webhooks/{webhook_id}. Gets one webhook that covers this inbox.PATCH /v0/inboxes/{inbox_id}/webhooks/{webhook_id}. Changes a webhook's URL, events, on/off state or the inboxes and pods it covers.DELETE /v0/inboxes/{inbox_id}/webhooks/{webhook_id}. Deletes the webhook.POST /v0/inboxes/{inbox_id}/webhooks/{webhook_id}/rotate-secret. Gives the webhook a new signing secret, returned once in secret.GET /v0/inboxes/{inbox_id}/webhooks/{webhook_id}/headers. Gets the custom headers send.io adds to every request to this webhook.PATCH /v0/inboxes/{inbox_id}/webhooks/{webhook_id}/headers. Sets or removes custom headers.API keys limited to one inbox. Give an agent a key that can only reach its own inbox, optionally with a permission list.
GET /v0/inboxes/{inbox_id}/api-keys. Lists the active API keys scoped to this inbox, newest first.POST /v0/inboxes/{inbox_id}/api-keys. Creates a key that only works for this inbox.PATCH /v0/inboxes/{inbox_id}/api-keys/{key_id}. Renames a key or changes its permissions.DELETE /v0/inboxes/{inbox_id}/api-keys/{key_id}. Revokes the key.Sending and receiving numbers for one inbox. The window is the last 30 days unless you set start and end.
GET /v0/inboxes/{inbox_id}/metrics/events. Lists message events for the inbox (received, sent, delivered, bounced, complained, opened, rejected), newest first.GET /v0/inboxes/{inbox_id}/events. Same as List events under /metrics/events.GET /v0/inboxes/{inbox_id}/metrics/usage. Counts of messages received, sent and by delivery outcome in the window.GET /v0/inboxes/{inbox_id}/metrics/rates. Delivery, bounce, complaint, rejection and open rates for sent messages in the window, from 0 to 1.A pod groups inboxes, so one customer or one project has its own inboxes, lists, webhooks and API keys. Inboxes made outside a pod belong to the default pod.
GET /v0/pods. Lists your pods, newest first.POST /v0/pods. Creates a pod.GET /v0/pods/{pod_id}. Gets one pod.DELETE /v0/pods/{pod_id}. Deletes a pod.Inboxes inside one pod. Each inbox is an email address your agent can send from and receive at.
GET /v0/pods/{pod_id}/inboxes. Lists the pod's inboxes, newest first.GET /v0/pods/{pod_id}/inboxes/search. Finds the pod's inboxes whose address, display name or client_id contains the search text.POST /v0/pods/{pod_id}/inboxes. Creates an inbox in the pod.GET /v0/pods/{pod_id}/inboxes/{inbox_id}. Gets one inbox in the pod.PATCH /v0/pods/{pod_id}/inboxes/{inbox_id}. Changes an inbox's display name, metadata or message retention.DELETE /v0/pods/{pod_id}/inboxes/{inbox_id}. Deletes an inbox.Threads across all inboxes in one pod. Spam and trash are hidden unless you ask for them.
GET /v0/pods/{pod_id}/threads. Lists threads in the pod's inboxes, newest first.GET /v0/pods/{pod_id}/threads/search. Finds threads whose subject, preview, senders or recipients contain the search text.GET /v0/pods/{pod_id}/threads/{thread_id}. Gets a thread with all its messages, oldest first.PATCH /v0/pods/{pod_id}/threads/{thread_id}. Adds or removes labels on a thread.DELETE /v0/pods/{pod_id}/threads/{thread_id}. Moves a thread to the trash.GET /v0/pods/{pod_id}/threads/{thread_id}/attachments/{attachment_id}. Gets an attachment's details and a signed download link that works for one hour.Unsent drafts across all inboxes in one pod. Create, edit and send drafts through the inbox routes.
GET /v0/pods/{pod_id}/drafts. Lists the pod's pending, sending and failed drafts, newest first.GET /v0/pods/{pod_id}/drafts/{draft_id}. Gets one draft in the pod.Allow and block lists that apply to every inbox in the pod. A list is chosen by direction (send, receive, reply) and type (allow, block).
GET /v0/pods/{pod_id}/lists/{direction}/{type}. Lists the entries on one of the pod's lists, sorted by entry.POST /v0/pods/{pod_id}/lists/{direction}/{type}. Adds an email address or domain to one of the pod's lists.GET /v0/pods/{pod_id}/lists/{direction}/{type}/{entry}. Gets one entry on one of the pod's lists.DELETE /v0/pods/{pod_id}/lists/{direction}/{type}/{entry}. Removes an entry from one of the pod's lists.Webhooks limited to one pod: they get events only for that pod's inboxes.
GET /v0/pods/{pod_id}/webhooks. Lists the webhooks scoped to this pod, newest first.POST /v0/pods/{pod_id}/webhooks. Creates a webhook scoped to this pod.GET /v0/pods/{pod_id}/webhooks/{webhook_id}. Gets one webhook scoped to this pod.PATCH /v0/pods/{pod_id}/webhooks/{webhook_id}. Changes a webhook's URL, events, scope or whether it is enabled.DELETE /v0/pods/{pod_id}/webhooks/{webhook_id}. Deletes a webhook scoped to this pod.GET /v0/pods/{pod_id}/webhooks/{webhook_id}/headers. Gets the custom headers sent with every delivery of this webhook.PATCH /v0/pods/{pod_id}/webhooks/{webhook_id}/headers. Sets or removes custom headers on this webhook's deliveries.The domain routes under a pod. They work the same as the top-level Domains routes.
GET /v0/pods/{pod_id}/domains. Lists your domains, newest first.POST /v0/pods/{pod_id}/domains. Adds a domain and returns the DNS records to set up.GET /v0/pods/{pod_id}/domains/{domain_id}. Gets a domain with its DNS records and their status.PATCH /v0/pods/{pod_id}/domains/{domain_id}. Accepted for compatibility.DELETE /v0/pods/{pod_id}/domains/{domain_id}. Deletes a domain.POST /v0/pods/{pod_id}/domains/{domain_id}/verify. Checks the domain's DNS records now and returns the updated status.GET /v0/pods/{pod_id}/domains/{domain_id}/zone-file. Gets the domain's DNS records as a BIND zone file you can import at your DNS provider.Events and counts for the inboxes in one pod.
GET /v0/pods/{pod_id}/metrics/events. Lists message events (received, sent, delivered, bounced and more) for the pod's inboxes, newest first.GET /v0/pods/{pod_id}/metrics/usage. Counts messages by outcome for the pod's inboxes in a time window.GET /v0/pods/{pod_id}/metrics/rates. Delivery, bounce, complaint, rejection and open rates for the pod's inboxes, as fractions of sent messages.API keys limited to one pod. A pod key can only reach that pod's inboxes and resources.
GET /v0/pods/{pod_id}/api-keys. Lists the pod's active keys, newest first.POST /v0/pods/{pod_id}/api-keys. Creates a key scoped to the pod.PATCH /v0/pods/{pod_id}/api-keys/{key_id}. Renames a key or changes its permissions.DELETE /v0/pods/{pod_id}/api-keys/{key_id}. Revokes a key.Send and receive from your own domain. Add it, set the DNS records it returns, then verify. Inboxes on the shared agents.send.io domain need no setup.
GET /v0/domains. Lists your domains, newest first.POST /v0/domains. Adds a domain and returns the DNS records to set up, such as DKIM, the return path and DMARC.GET /v0/domains/{domain_id}. Gets a domain with its DNS records and their status.PATCH /v0/domains/{domain_id}. Accepted for compatibility.DELETE /v0/domains/{domain_id}. Deletes a domain.POST /v0/domains/{domain_id}/verify. Checks the domain's DNS records now and returns the updated status.GET /v0/domains/{domain_id}/zone-file. Gets the domain's DNS records as a BIND zone file you can import at your DNS provider.GET /v0/domains/{domain_id}/setup-link. Gets a one-click DNS setup link (Domain Connect) when the domain's DNS provider supports it.Get events like message.received pushed to your URL. A webhook is team-wide unless you limit it to inboxes or pods. Payloads look like {type: "event", event_type, event_id, ...}.
GET /v0/webhooks. Lists your webhooks, newest first.POST /v0/webhooks. Creates a webhook.GET /v0/webhooks/{webhook_id}. Gets one webhook.PATCH /v0/webhooks/{webhook_id}. Changes a webhook's URL, events, scope or whether it is enabled.DELETE /v0/webhooks/{webhook_id}. Deletes a webhook.GET /v0/webhooks/{webhook_id}/headers. Gets the custom headers sent with every delivery of this webhook.PATCH /v0/webhooks/{webhook_id}/headers. Sets or removes custom headers on this webhook's deliveries, for example a token your endpoint checks.Team-wide allow and block lists that apply to every inbox. Pick a list by direction (send, receive or reply) and type (allow or block). Entries are email addresses or whole domains.
GET /v0/lists/{direction}/{type}. Lists the entries on one team-wide list, sorted by entry.POST /v0/lists/{direction}/{type}. Adds an email address or domain to a team-wide list.GET /v0/lists/{direction}/{type}/{entry}. Gets one entry on a team-wide list.DELETE /v0/lists/{direction}/{type}/{entry}. Removes an entry from a team-wide list.Events and counts for all your agent inboxes. A scoped API key sees only its own inbox or pod. The default window is the last 30 days.
GET /v0/metrics/events. Lists message events (received, sent, delivered, bounced, complained, opened, rejected), newest first.GET /v0/metrics/usage. Counts messages by outcome in a time window, plus the number of active inboxes.GET /v0/metrics/rates. Delivery, bounce, complaint, rejection and open rates in a time window, as fractions of sent messages (0 to 1).Create keys for your agents. A key can be full access, limited to an inbox or pod, or limited to a list of permissions.
GET /v0/api-keys. Lists your active keys, newest first.POST /v0/api-keys. Creates a team-wide key.GET /v0/api-keys/{key_id}. Gets one key.PATCH /v0/api-keys/{key_id}. Renames a key or changes its permissions.DELETE /v0/api-keys/{key_id}. Revokes a key.Your organization (team) and the key you are calling with.
GET /v0/organizations/{org_id}. Gets your organization.GET /v0/auth/me. Tells you who you are: your organization, the key in use, its scope and permissions, and for a self-signed-up agent whether it is verified.An agent can create its own send.io account, inbox and API key with one call, no human sign-up needed. A 6-digit code emailed to the agent's human unlocks it. This is a send.io addition.
POST /v0/agents/sign-up. Creates an account, an inbox on agents.send.io and an API key.POST /v0/agents/{agent_id}/verify. Unlocks the agent with the 6-digit code its human received.POST /v0/agents/{agent_id}/attach-human. Sets the agent's human, if sign-up had none, or re-sends the verification code to the same human.The auth.md protocol: an agent opens a send.io account for its human without the sign-up form, and the human approves it with a code, or a trusted agent provider vouches for the human. Discovery is at /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server on the API host; the full recipe agents read is https://app.send.io/auth.md. Trusted providers push revocations (RFC 8935 Security Event Tokens) to /v0/agents/identity/events. This is a send.io addition. No API key is needed for these calls.
POST /v0/agents/identity. Creates the account and inbox.POST /v0/agents/identity/claim. Names the human for an anonymous registration and starts the approval: a 6-digit code the agent shows, and a link.POST /v0/token. The OAuth token endpoint (form-encoded or JSON).Let agents sign in to your app with their send.io inbox, like "Sign in with Google" for agents. send.io is a standard OpenID Connect provider (authorization code flow, RS256 tokens). This is a send.io addition.
GET /.well-known/openid-configuration. The OpenID Connect discovery document.GET /v0/jwks.json. The public keys (JWKS) that sign ID tokens and access tokens.POST /v0/register. Registers your app as an OpenID Connect client (dynamic client registration, RFC 7591).GET /v0/authorize. Send the user's browser here to start a sign-in.GET /v0/authorize/status. Polls a sign-in.POST /v0/token. Trades the code for an ID token and an access token.GET /v0/userinfo. Returns the signed-in agent's claims for an access token.Loading your dashboard