API reference
What you do in Studio is also an HTTP endpoint, and almost always an MCP tool, with the same permissions. Each endpoint below names its MCP tool, the Studio page where you find it, and the project role it needs.
Basics
Base URL and authentication
Send requests to https://api.usereachout.com with an API key in the Authorization header. Create the key in Studio, under Organization settings → API keys → Generate API key; its rok_live_… secret is shown once. A new key reaches nothing until you give it a role in the projects it should work in.
curl https://api.usereachout.com/api/projects/$PROJECT_ID/contacts?limit=25 \
-H "Authorization: Bearer $REACHOUT_API_KEY"Project endpoints start with /api/projects/:projectId/. GET /api/projects lists the projects you can reach with their IDs. Responses are JSON, usually with the result under data.
Roles
- Viewer reads the project: contacts, campaigns, templates, analytics.
- Editor also creates and changes content: contacts, segments, campaigns, templates, sends.
- Admin also manages the project's settings: sender domains, websites, members and API-key access.
People get these roles in a project's Settings → Access, API keys under Organization settings → API keys. Organization owners reach every project.
Errors
Errors share one shape: a stable code to branch on, a message, and sometimes details.
{
"error": {
"code": "PROJECT_ROLE_REQUIRED",
"message": "Project role permission is required."
}
}400 VALIDATION_ERROR: the request is invalid;detailsnames the fields.401 UNAUTHORIZED: the API key is missing, revoked or wrong.402 PLAN_REQUIRED: the organization's trial or plan has ended. Data collection continues.403 PROJECT_ROLE_REQUIRED: your role in the project is too low for this endpoint.404 NOT_FOUND: the resource does not exist, or you cannot reach it.409 PROJECT_ARCHIVED: the project is archived and accepts no changes.409 VERSION_CONFLICT: someone changed the resource since you read it; read it again and retry.429 RATE_LIMITED: too many requests, see below.
Rate limits and retries
An organization can make 500 API requests per minute. Past that, requests answer 429 RATE_LIMITED with X-RateLimit-Remaining and X-RateLimit-Reset (Unix seconds) headers.
Some writes take an idempotency key so that a retry after a lost response does not repeat the change: project and organization creation read the Idempotency-Key header, other operations an idempotencyKey field described in their MCP tool. Reusing a key for a different request answers 409 IDEMPOTENCY_KEY_REUSED.
The same operations over MCP
Each endpoint lists its MCP tool. An AI client connected to https://api.usereachout.com/mcp calls the same operation with the same permissions; the MCP reference lists every tool's arguments, and Connect an AI client sets one up in minutes.
Projects and access
Projects hold your data. Organization owners and admins create projects and API keys; project admins decide who works in each project and with which role.
- GET
/api/projectsViewerList the projects you can open in an organization.
- POST
/api/projectsOrg adminCreate another project in the organization.
- GET
/api/projects/:idViewerRead one project.
- PATCH
/api/projects/:idAdminRename an active project.
- POST
/api/projects/:id/archiveAdminArchive a project that is not the default one.
- GET
/api/projects/:id/provisioningViewerRead whether a new project is ready or still being prepared.
- POST
/api/projects/:id/provisioning/retryAdminRetry a project's preparation after it failed.
- POST
/api/projects/:id/restoreAdminRestore an archived project.
- POST
/api/projects/:id/set-defaultOrg adminMake an active project the organization default.
- GET
/api/projects/:id/membersAdminList who works in a project and with which role.
- POST
/api/projects/:id/membersAdminGive an organization member a role in a project.
- PATCH
/api/projects/:id/members/:memberIdAdminChange a member's role in a project.
- DELETE
/api/projects/:id/members/:memberIdAdminRemove a member's access to a project.
- GET
/api/api-keysOrg adminList the organization's API keys: prefix, label and last use.
- POST
/api/api-keysOrg adminCreate an API key. Its secret is returned once; only Studio can create keys.
- DELETE
/api/api-keys/:keyIdOrg adminRevoke an API key. Calls with it stop working at once.
- GET
/api/api-keys/:keyId/projectsOrg adminList the projects an API key can reach and its role in each.
- POST
/api/api-keys/:keyId/projectsOrg admin + project adminGive an API key a role in a project.
- PATCH
/api/api-keys/:keyId/projects/:projectIdOrg admin + project adminChange an API key's role in a project.
- DELETE
/api/api-keys/:keyId/projects/:projectIdOrg admin + project adminRemove an API key's access to a project.
Contacts
The people of a project, their custom fields, CSV imports and static lists.
- GET
/api/projects/:projectId/contactsViewerList contacts with search, filters, sorting and pagination.
- POST
/api/projects/:projectId/contactsEditorCreate a contact.
- GET
/api/projects/:projectId/contacts/:contactIdViewerRead one contact.
- PATCH
/api/projects/:projectId/contacts/:contactIdEditorUpdate a contact's fields.
- DELETE
/api/projects/:projectId/contacts/:contactIdEditorDelete a contact.
- POST
/api/projects/:projectId/contacts/bulk-deleteEditorDelete many contacts at once.
- POST
/api/projects/:projectId/contacts/bulk-updateEditorUpdate many contacts at once.
- GET
/api/projects/:projectId/contacts/dedupViewerFind groups of contacts that share an email address.
- POST
/api/projects/:projectId/contacts/dedupEditorMerge or delete many duplicate groups at once.
- POST
/api/projects/:projectId/contacts/dedup/resolveEditorResolve one duplicate group, keeping the contact you choose.
- POST
/api/projects/:projectId/contacts/searchEditorSearch contacts with a filter body.
- GET
/api/projects/:projectId/contact-fieldsViewerList the custom contact fields.
- POST
/api/projects/:projectId/contact-fieldsEditorAdd a custom contact field.
- PATCH
/api/projects/:projectId/contact-fields/:fieldIdEditorRename or change a custom contact field.
- DELETE
/api/projects/:projectId/contact-fields/:fieldIdEditorDelete a custom contact field and its stored values.
- POST
/api/projects/:projectId/contact-importsEditorUpload a CSV file of contacts to import.
- GET
/api/projects/:projectId/contact-imports/:importIdEditorRead an import's progress and results.
- DELETE
/api/projects/:projectId/contact-imports/:importIdEditorDelete an import.
- GET
/api/projects/:projectId/contact-listsViewerList static contact lists.
- POST
/api/projects/:projectId/contact-listsEditorCreate a list.
- GET
/api/projects/:projectId/contact-lists/:listIdViewerRead one list.
- PATCH
/api/projects/:projectId/contact-lists/:listIdEditorRename or describe a list.
- DELETE
/api/projects/:projectId/contact-lists/:listIdEditorDelete a list. Its contacts stay.
- GET
/api/projects/:projectId/contact-lists/:listId/contactsViewerList the contacts of a list.
- POST
/api/projects/:projectId/contact-lists/:listId/contactsEditorAdd contacts to a list.
- DELETE
/api/projects/:projectId/contact-lists/:listId/contacts/:contactIdEditorRemove a contact from a list.
Segments
Rule-based groups of contacts, evaluated when a send is prepared.
- GET
/api/projects/:projectId/segmentsViewerList segments.
- POST
/api/projects/:projectId/segmentsEditorCreate a segment from rules.
- GET
/api/projects/:projectId/segments/:segmentIdViewerRead one segment and its rules.
- PATCH
/api/projects/:projectId/segments/:segmentIdEditorChange a segment's name or rules.
- DELETE
/api/projects/:projectId/segments/:segmentIdEditorDelete a segment.
- GET
/api/projects/:projectId/segments/:segmentId/contactsViewerList the contacts a segment matches now.
- POST
/api/projects/:projectId/segments/:segmentId/estimateEditorCount the contacts a saved segment matches.
- POST
/api/projects/:projectId/segments/estimateEditorCount the contacts a set of rules would match, without saving it.
Campaigns and touchpoints
A campaign groups its touchpoints: newsletters, triggered emails, websites and documents. Subscription topics and issued documents belong here too.
- GET
/api/projects/:projectId/campaignsViewerList campaigns with their lifecycle and delivery state.
- POST
/api/projects/:projectId/campaignsEditorCreate a campaign.
- GET
/api/projects/:projectId/campaigns/:campaignIdViewerRead one campaign.
- PATCH
/api/projects/:projectId/campaigns/:campaignIdEditorChange a campaign's name, lifecycle or who receives its sends.
- DELETE
/api/projects/:projectId/campaigns/:campaignIdEditorDelete a campaign.
- GET
/api/projects/:projectId/campaigns/:campaignId/progressViewerRead the delivery progress of a campaign's latest send.
- GET
/api/projects/:projectId/campaigns/:campaignId/statsViewerRead the delivery and engagement results of one campaign.
- GET
/api/projects/:projectId/campaigns/overviewViewerRead recipients sent, delivered, bounced, opened and clicked over time, for one or every campaign.
- GET
/api/projects/:projectId/campaigns/:campaignId/touchpointsViewerList the touchpoints of a campaign.
- POST
/api/projects/:projectId/campaigns/:campaignId/touchpointsEditorAdd a touchpoint to a campaign: a newsletter, a triggered email, a website or a document.
- GET
/api/projects/:projectId/touchpoints/:touchpointIdViewerRead one touchpoint with its configuration and template version.
- PATCH
/api/projects/:projectId/touchpoints/:touchpointIdEditorChange a touchpoint, including the template version it sends.
- GET
/api/projects/:projectId/touchpoints/:touchpointId/impactViewerSee the scheduled sends and automations a template version change would reach.
- POST
/api/projects/:projectId/touchpoints/:touchpointId/validationsViewerCheck a touchpoint for what blocks or risks its sends, without changing it.
- GET
/api/projects/:projectId/communication-topicsViewerList subscription topics with how many newsletters use them.
- POST
/api/projects/:projectId/communication-topicsEditorCreate a subscription topic.
- GET
/api/projects/:projectId/communication-topics/:topicIdViewerRead one subscription topic.
- PATCH
/api/projects/:projectId/communication-topics/:topicIdEditorRename or describe a subscription topic.
- POST
/api/projects/:projectId/communication-topics/:topicId/archiveEditorArchive a topic so new newsletters cannot pick it.
- POST
/api/projects/:projectId/communication-topics/:topicId/unarchiveEditorRestore an archived topic.
- GET
/api/projects/:projectId/communication-topics/:topicId/usagesViewerList the newsletters and campaigns that use a topic.
- GET
/api/projects/:projectId/document-statsViewerCount issued, expired and revoked documents and their recent opens.
- GET
/api/projects/:projectId/documents/:documentIdViewerRead one issued document: link and render state, expiry and opens.
- POST
/api/projects/:projectId/documents/:documentId/revokeEditorRevoke a document: its link stops working.
- GET
/api/projects/:projectId/touchpoints/:touchpointId/documentsViewerList the documents a document touchpoint issued, with their state and opens.
- POST
/api/projects/:projectId/touchpoints/:touchpointId/documents/issueEditorIssue a contact's document from the touchpoint's template and return its link.
- POST
/api/projects/:projectId/touchpoints/:touchpointId/documents/previewEditorRender a preview PDF of a document touchpoint, issuing nothing.
- GET
/api/projects/:projectId/touchpoints/:touchpointId/documents/previews/:previewIdViewerRead a preview: pending, ready with its PDF, or failed.
- POST
/api/projects/:projectId/touchpoints/:touchpointId/documents/publishEditorPublish an item's document from its data and return its link.
Templates
Email and document templates. A template is edited as a draft and published as immutable versions; newsletters and triggered emails pin a version.
- GET
/api/projects/:projectId/templatesViewerList email and document templates with their latest version.
- POST
/api/projects/:projectId/templatesEditorCreate a template draft.
- GET
/api/projects/:projectId/templates/:templateIdViewerRead a template draft and the contact fields it uses.
- PATCH
/api/projects/:projectId/templates/:templateIdEditorSave a template draft. Pinned versions keep sending unchanged.
- DELETE
/api/projects/:projectId/templates/:templateIdAdminDelete a template that was never published and is used by nothing.
- POST
/api/projects/:projectId/templates/:templateId/archiveAdminArchive or unarchive a template. Pinned versions keep sending.
- POST
/api/projects/:projectId/templates/:templateId/previewEditorRender the draft for a contact.
- GET
/api/projects/:projectId/templates/:templateId/usagesViewerList the newsletters and triggered emails that pin a version of the template.
- GET
/api/projects/:projectId/templates/:templateId/versionsViewerList the published versions of a template.
- POST
/api/projects/:projectId/templates/:templateId/versionsEditorPublish the draft as the next immutable version.
- GET
/api/projects/:projectId/templates/:templateId/versions/:versionViewerRead one published version.
- POST
/api/projects/:projectId/templates/:templateId/versions/:version/applyEditorMove a set of newsletters and triggered emails to one published version.
- POST
/api/projects/:projectId/templates/:templateId/versions/:version/previewEditorRender a published version for a contact.
- POST
/api/projects/:projectId/templates/:templateId/versions/:version/restoreEditorCopy a published version back into the draft.
Newsletters and delivery
Newsletter publications and their delivery: sender domains, the sending pause, the recipient list binding and the organization sending quota.
- POST
/api/projects/:projectId/newsletter/operationsViewer to read, Editor to change, Admin for deliveryReview and manage newsletter publications, delivery reports, the backlog and suppressions; the operation name in the body selects the action.
- GET
/api/projects/:projectId/newsletter/sending-stateEditorRead whether newsletter sending is connected and paused.
- GET
/api/projects/:projectId/newsletter-sendingViewerRead whether newsletter sending of the project is paused, and why.
- PUT
/api/projects/:projectId/newsletter-sendingAdminPause or resume newsletter sending of the project.
- GET
/api/projects/:projectId/recipient-list-bindingViewerRead the project's recipient list binding.
- POST
/api/projects/:projectId/recipient-list-bindingAdminCreate or change the recipient list binding.
- POST
/api/projects/:projectId/recipient-list-binding/lockAdminLock the recipient list binding.
- POST
/api/projects/:projectId/recipient-list-binding/unlockAdminUnlock the recipient list binding.
- POST
/api/projects/:projectId/recipient-list-binding/validateAdminCheck that the bound recipient collection still matches the schema it was locked with.
- GET
/api/projects/:projectId/campaigns/domainsViewerList sender domains.
- POST
/api/projects/:projectId/campaigns/domainsAdminAdd a sender domain by hostname.
- PATCH
/api/projects/:projectId/campaigns/domains/:domainIdAdminChange a sender domain.
- DELETE
/api/projects/:projectId/campaigns/domains/:domainIdAdminDelete a sender domain that no send in progress uses.
- POST
/api/projects/:projectId/campaigns/domains/:domainId/reconcileAdminResolve a sender domain operation that needs review.
- POST
/api/projects/:projectId/campaigns/domains/:domainId/registerAdminRegister a sender domain for sending and return the DNS records to publish.
- GET
/api/projects/:projectId/campaigns/domains/:domainId/trackingViewerRead a sender domain's open and click tracking host.
- POST
/api/projects/:projectId/campaigns/domains/:domainId/trackingAdminUse the shared tracking host or a branded one on your domain.
- POST
/api/projects/:projectId/campaigns/domains/:domainId/verifyAdminCheck a sender domain's DNS records and refresh its readiness.
- GET
/api/projects/:projectId/campaigns/domains/:domainIdViewerRead one sender domain with its DNS records and status.
- GET
/api/organization/sending-quotaOrg member or API keyRead your sending limits and use over 24 hours, 60 and 5 minutes, per sender domain, with the guard rails.
- GET
/api/projects/:projectId/newsletter/pulse-connectionAdminRead the project's Pulse connection and its warnings.
- GET
/api/projects/:projectId/newsletter/pulse-connection/dead-lettersAdminList the messages the Pulse connection could not apply.
Automations
Event automations: a website event starts a triggered email of the same campaign. One endpoint carries every automation operation.
- POST
/api/projects/:projectId/automations/operationsViewer to read, Editor to changeDefine, test, activate, pause and archive the event automations of the project; the operation name in the body selects the action.
Websites and tracking
Tracking clients are the websites that send events to a project. See Tracker security for what the client ID, the allowed origins and the signing key protect.
- GET
/api/projects/:projectId/tracking-clientsViewerList the websites that send events, with their client IDs.
- POST
/api/projects/:projectId/tracking-clientsAdminAdd a website and, for server-side SDKs, its client secret.
- PATCH
/api/projects/:projectId/tracking-clients/:trackingClientIdAdminChange a website's name, allowed origins, who can start automations, email attribution and goals.
- DELETE
/api/projects/:projectId/tracking-clients/:trackingClientIdAdminDelete a website. Its events stop being accepted.
- POST
/api/projects/:projectId/tracking-clients/:trackingClientId/rotate-secretAdminReplace a website's client secret. The old one stops working at once.
- POST
/api/projects/:projectId/tracking-clients/:trackingClientId/signing-keysAdminCreate or rotate a website's identity-token signing key. It is returned once; the previous key works for 7 more days.
Analytics
Website and email analytics of one project. Most reads take a range and an optional clientId to keep one website.
- GET
/api/projects/:projectId/analyticsViewerRead daily, weekly or monthly website summaries.
- GET
/api/projects/:projectId/analytics/campaigns/:campaignId/performanceViewerRead the email results of one campaign.
- GET
/api/projects/:projectId/analytics/campaigns/performanceViewerRead the email results of a set of campaigns.
- GET
/api/projects/:projectId/analytics/contributionsViewerRead each website's share of the project's sessions and pageviews.
- GET
/api/projects/:projectId/analytics/countriesViewerList visits by country.
- GET
/api/projects/:projectId/analytics/devicesViewerList visits by device, browser and operating system.
- GET
/api/projects/:projectId/analytics/emailViewerRead email engagement over time.
- GET
/api/projects/:projectId/analytics/engaged-usersViewerList the most engaged identified visitors.
- GET
/api/projects/:projectId/analytics/eventsViewerList custom events and their counts.
- GET
/api/projects/:projectId/analytics/geoViewerList visits by location.
- GET
/api/projects/:projectId/analytics/identification-diagnosticViewerCheck how visitors are identified across your traffic.
- GET
/api/projects/:projectId/analytics/newsletters/performanceViewerRead aggregate results per newsletter send.
- GET
/api/projects/:projectId/analytics/newsletters/sendsViewerList newsletter sends, newest first, with their phase and progress.
- GET
/api/projects/:projectId/analytics/newsletters/sends/:publicationIdViewerRead one newsletter send: version used, counts, holds and exclusions.
- GET
/api/projects/:projectId/analytics/newsletters/statusViewerRead whether new newsletter sends are held right now, and why.
- GET
/api/projects/:projectId/analytics/overlayViewerRead one campaign's email and website activity on the same timeline.
- GET
/api/projects/:projectId/analytics/overviewViewerRead visitors, sessions, pageviews, bounce rate and visit duration.
- GET
/api/projects/:projectId/analytics/pagesViewerList the top pages with views, unique visitors and time on page.
- GET
/api/projects/:projectId/analytics/realtimeViewerRead the visitors on your websites right now.
- GET
/api/projects/:projectId/analytics/referrersViewerList the top referring sites.
- GET
/api/projects/:projectId/analytics/refsViewerList referrers and campaign parameters of your visits.
- GET
/api/projects/:projectId/analytics/streamViewerStream analytics updates as they happen.
- GET
/api/projects/:projectId/dashboard/statsViewerRead the project's home figures, including each campaign's results.
Insights
Reports written from your analytics, on a schedule or from a prompt.
- GET
/api/projects/:projectId/insightsViewerList insight reports.
- POST
/api/projects/:projectId/insights/definitionsEditorCreate a custom insight from a prompt and run it.
- POST
/api/projects/:projectId/insights/definitions/:definitionId/archiveEditorArchive a custom insight. Its past reports stay.
- GET
/api/projects/:projectId/insights/definitions/:definitionId/previewViewerPreview what an insight definition would report.
- POST
/api/projects/:projectId/insights/definitions/:definitionId/runEditorRun one insight now.
- GET
/api/projects/:projectId/insights/reports/:reportIdViewerRead one insight report with its evidence.
- POST
/api/projects/:projectId/insights/run-dueEditorRun every active insight now.
Assets
Images and files used by templates and pages.
- GET
/api/projects/:projectId/assetsViewerList assets.
- POST
/api/projects/:projectId/assetsEditorUpload an asset.
- GET
/api/projects/:projectId/assets/:assetIdViewerRead one asset.
- PATCH
/api/projects/:projectId/assets/:assetIdEditorChange an asset's details.
- DELETE
/api/projects/:projectId/assets/:assetIdEditorDelete an asset.
Organization
Members, invitations, billing and settings. These endpoints act for a signed-in person, in Studio or through MCP with delegated OAuth; API keys reach only a few of them, such as the organization overview. Owners and admins manage members, invitations, API keys, projects and settings; only the owner archives, restores or hands over the organization; members read.
- GET
/api/organization/overviewRead analytics across the projects you can open.
- POST
/api/organizationsCreate an organization with its default project.
- POST
/api/organizations/:id/owner-transferOwnerHand the organization over to another member.
- GET
/api/organizations/:id/provisioningRead whether a new organization is ready or still being prepared.
- POST
/api/organizations/:id/provisioning/retryRetry an organization's preparation after it failed.
- POST
/api/organizations/:id/switchSwitch the organization your session works in.
- PATCH
/api/organizations/:organizationIdRename an organization.
- POST
/api/organizations/:organizationId/archiveOwnerArchive an organization: members lose access and sending pauses until the owner restores it.
- POST
/api/organizations/:organizationId/logoSet the organization's logo from a PNG, JPEG or WebP of at most 512 KB.
- DELETE
/api/organizations/:organizationId/logoRemove the organization's logo.
- POST
/api/organizations/:organizationId/restoreOwnerRestore an archived organization.
- GET
/api/organization/enterpriseRead the enterprise options of the organization.
- POST
/api/organization/enterprise/clickhouse-requestAsk for a dedicated analytics database.
- POST
/api/organization/enterprise/requestAsk for enterprise options.
- GET
/api/organization/mcp-deletionsRead whether MCP clients may delete data.
- PATCH
/api/organization/mcp-deletionsAllow or forbid deletions through MCP.
- GET
/api/organization/timezonesList the time zones you can choose.
- POST
/api/auth/organization/invite-memberInvite someone to the organization.
- POST
/api/auth/organization/leaveLeave the organization. Its only owner cannot.
- GET
/api/auth/organization/list-membersList the members of the organization and their roles.
- POST
/api/auth/organization/remove-memberRemove a member from the organization.
- POST
/api/auth/organization/update-member-roleChange a member's organization role.
- POST
/api/auth/organization/cancel-invitationCancel a pending invitation.
- GET
/api/auth/organization/list-invitationsList pending invitations.
- GET
/api/organizations/:organizationId/invitation-project-grantsList the project access pending invitations will grant.
- POST
/api/billing/checkoutStart a checkout to change plan.
- GET
/api/billing/plansRead the current plan with its limits, and the available plans.
- POST
/api/billing/portalOpen the billing portal for invoices and payment details.
- GET
/api/billing/seatsList the organization's seats, one per member.
- GET
/api/billing/usageRead the period's usage: emails, MCP calls and insights.
- GET
/api/integrations/healthCheck the database, the analytics store and the recipient list binding.
Your account
Your own profile, passkeys and sessions, for the signed-in person only.
- GET
/api/me/accountRead your account: name, sign-in email, sign-in methods, two-factor status and roles.
- PATCH
/api/me/accountRename your account.
- POST
/api/me/account/avatarSet your profile picture from a PNG, JPEG or WebP of at most 512 KB.
- DELETE
/api/me/account/avatarRemove your profile picture.
- GET
/api/me/account/passkeysList your passkeys. You register new ones in Studio.
- DELETE
/api/me/account/passkeys/:passkeyIdDelete one of your passkeys. Magic-link sign-in stays available.
- GET
/api/me/account/sessionsList your signed-in sessions. Tokens are never returned.
- DELETE
/api/me/account/sessions/:sessionIdSign out one of your sessions.
- GET
/api/me/workspaceRead the organization and project Studio opens for you.
- PUT
/api/me/workspaceChoose the organization and project Studio opens for you.
- GET
/api/organizationsList the organizations you belong to and your role in each.