← Back to home
IntegrationREST APIProfessional & Enterprise

Your CRM, research, and email — from the application you build

The YouEx.ai REST API is the contract for your own application. It covers the CRM operations an assistant can already perform, plus engagement, email drafts, lists, and campaigns. Calls run as a signed-in user, inside one workspace.

Base URL

https://engage.youex.ai/api/v1

Production. Paths below are relative to this base. Included on Professional and Enterprise.

  • Create, read, update, and delete leads, contacts, companies, and opportunities
  • Read engagement and stored research, and start a new research run
  • Draft, send, and schedule email, and manage lists and campaigns
  • OAuth for a signed-in user, scoped to one workspace
  • Included on Professional and Enterprise

What you can build

A supported way to operate the live workspace

Use it when the work belongs in your product: a routing service, an internal console, a data sync, or a partner integration. Records, research, and email stay in YouEx.ai. Your application calls them.

The same CRM your team uses

Leads, contacts, companies, and opportunities, with the same status values the product uses. A related company, contact, or opportunity has to already belong to that workspace.

Research and engagement

Pull a workspace summary, a lead’s page views, conversations, and history, and the stored research report for a lead, contact, or company. Start a new research run when the brief is stale.

Actions and reminders

Log or schedule a meeting, text, email, call, or other action, and read or update reminders. Actions attach to a lead, contact, company, or opportunity.

Email your application can send

Create, update, send, and schedule drafts for leads and contacts. Manage topics, lists, list members, and campaigns from the same API.

One workspace at a time

Every call runs in a workspace the user belongs to. A token does not open every workspace on the account. Send X-YouEx-Workspace-Id when the user has more than one.

Resources

82 routes on engage.youex.ai/api/v1

Ids travel in the path. Filters travel in the query. Creates and updates are JSON. A path id overrides the same field in the body. Lists accept cursor, limit, searchTerm, and, where that route publishes them, status, tag, and timeframe. When a list has more rows, send the returned cursor back as cursor.

Workspace summary

Counts and pipeline totals for the workspace.

Workspace summary routes
MethodPathScopePurpose
GET/summarycrm:readWorkspace summary

Leads

List, find, create, update, and delete leads. Read engagement, page views, conversations, history, and research, or start a new research run. Bulk delete matches exact email addresses.

Leads routes
MethodPathScopePurpose
GET/leadscrm:readList leads
POST/leadscrm:writeCreate a lead
GET/leads/findcrm:readFind leads
POST/leads/bulk-deletecrm:writeDelete leads by email
GET/leads/:idcrm:readRead one lead
PATCH/leads/:idcrm:writeUpdate a lead
DELETE/leads/:idcrm:writeDelete a lead
GET/leads/:id/engagementcrm:readPage views, clicks, and chats
GET/leads/:id/page-viewscrm:readPage-view events
GET/leads/:id/conversationscrm:readChat transcripts
GET/leads/:id/historycrm:readLifecycle history
GET/leads/:id/researchcrm:readStored research report
POST/leads/:id/researchcrm:writeStart a research run

Contacts

The same record operations as leads, including stored research and a new research run.

Contacts routes
MethodPathScopePurpose
GET/contactscrm:readList contacts
POST/contactscrm:writeCreate a contact
GET/contacts/findcrm:readFind contacts
GET/contacts/:idcrm:readRead one contact
PATCH/contacts/:idcrm:writeUpdate a contact
DELETE/contacts/:idcrm:writeDelete a contact
GET/contacts/:id/researchcrm:readStored research report
POST/contacts/:id/researchcrm:writeStart a research run

Companies

Company records with industry, website, type, and status, plus research.

Companies routes
MethodPathScopePurpose
GET/companiescrm:readList companies
POST/companiescrm:writeCreate a company
GET/companies/findcrm:readFind companies
GET/companies/:idcrm:readRead one company
PATCH/companies/:idcrm:writeUpdate a company
DELETE/companies/:idcrm:writeDelete a company
GET/companies/:id/researchcrm:readStored research report
POST/companies/:id/researchcrm:writeStart a research run

Opportunities

Deals with amount, stage, probability, and close date. Opportunities do not have a research report.

Opportunities routes
MethodPathScopePurpose
GET/opportunitiescrm:readList opportunities
POST/opportunitiescrm:writeCreate an opportunity
GET/opportunities/findcrm:readFind opportunities
GET/opportunities/:idcrm:readRead one opportunity
PATCH/opportunities/:idcrm:writeUpdate an opportunity
DELETE/opportunities/:idcrm:writeDelete an opportunity

Actions and reminders

Logged or scheduled actions use the types meeting, text, email, call, and other. List actions with objectType and objectId.

Actions and reminders routes
MethodPathScopePurpose
GET/crm-actionscrm:readList actions for a record
POST/crm-actionscrm:writeLog or schedule an action
PATCH/crm-actions/:idcrm:writeUpdate an action
DELETE/crm-actions/:idcrm:writeDelete an action
GET/crm-reminderscrm:readList CRM reminders
GET/reminderscrm:readList reminders
POST/reminderscrm:writeCreate a reminder
GET/reminders/:idcrm:readRead one reminder
PATCH/reminders/:idcrm:writeUpdate a reminder
DELETE/reminders/:idcrm:writeDelete a reminder

Email drafts

Drafts belong to a lead or a contact. Send from the draft path. Schedule with recordType of lead or contact, the record id, and scheduledAt.

Email drafts routes
MethodPathScopePurpose
GET/leads/:leadId/email-draftscrm:readList lead drafts
POST/leads/:leadId/email-draftscrm:writeCreate a lead draft
GET/leads/:leadId/email-drafts/:draftIdcrm:readRead a lead draft
PATCH/leads/:leadId/email-drafts/:draftIdcrm:writeUpdate a lead draft
DELETE/leads/:leadId/email-drafts/:draftIdcrm:writeDelete a lead draft
POST/leads/:leadId/email-drafts/:draftId/sendcrm:writeSend a lead draft
GET/contacts/:contactId/email-draftscrm:readList contact drafts
POST/contacts/:contactId/email-draftscrm:writeCreate a contact draft
GET/contacts/:contactId/email-drafts/:draftIdcrm:readRead a contact draft
PATCH/contacts/:contactId/email-drafts/:draftIdcrm:writeUpdate a contact draft
DELETE/contacts/:contactId/email-drafts/:draftIdcrm:writeDelete a contact draft
POST/contacts/:contactId/email-drafts/:draftId/sendcrm:writeSend a contact draft
POST/email-drafts/:draftId/schedulecrm:writeSchedule a draft

Topics, lists, and campaigns

Topics, lists, and campaigns for outbound email. Add list members directly, from tags, or from a date range, then read and update the campaign and its drafts.

Topics, lists, and campaigns routes
MethodPathScopePurpose
GET/email-topicscrm:readList topics
POST/email-topicscrm:writeCreate a topic
GET/email-topics/:idcrm:readRead a topic
PATCH/email-topics/:idcrm:writeUpdate a topic
DELETE/email-topics/:idcrm:writeDelete a topic
GET/email-listscrm:readList email lists
POST/email-listscrm:writeCreate an email list
GET/email-lists/:idcrm:readRead an email list
PATCH/email-lists/:idcrm:writeUpdate an email list
DELETE/email-lists/:idcrm:writeDelete an email list
GET/email-lists/:emailListId/memberscrm:readList members
POST/email-lists/:emailListId/memberscrm:writeAdd members
POST/email-lists/:emailListId/members/from-tagscrm:writeAdd members from tags
POST/email-lists/:emailListId/members/from-date-rangecrm:writeAdd members from a date range
GET/email-lists/:emailListId/members/:leadIdcrm:readRead a list member
DELETE/email-lists/:emailListId/members/:leadIdcrm:writeRemove a list member
GET/email-lists/:emailListId/campaignscrm:readCampaigns on a list
GET/email-list-campaigns/:campaignIdcrm:readRead a campaign
PATCH/email-list-campaigns/:campaignIdcrm:writeUpdate a campaign
DELETE/email-list-campaigns/:campaignIdcrm:writeDelete a campaign
GET/email-list-campaigns/:campaignId/memberscrm:readCampaign members
PATCH/email-list-campaigns/:campaignId/drafts/:draftIdcrm:writeUpdate a campaign draft
DELETE/email-list-campaigns/:campaignId/drafts/:draftIdcrm:writeDelete a campaign draft

Security

Workspace data stays in that workspace

  • Calls run as the signed-in user, in one workspace that user belongs to
  • Owners and Admins provision the OAuth client. YouEx registers the redirect URL
  • Engagement reads omit IP address, precise location, and raw user agent
  • Research text is omitted from list and search results
  • A reference to a record in another workspace is rejected

Who this is for

Product and engineering

Put YouEx records, research, and email into an internal tool or a product you ship.

RevOps

Keep a warehouse, a routing service, or a custom workflow in step with the live CRM.

Partners

Call a supported contract instead of scraping the app or borrowing another product’s token.

FAQ

Common questions

Which plans include the REST API?

Professional and Enterprise. Seller and Prospector do not include it. A workspace without API access receives 403.

Is there an API key?

No. Your application signs the user in with Authorization Code and PKCE, then sends that user’s access token. There is no shared key and no client-credentials grant.

How do I choose a workspace?

Send X-YouEx-Workspace-Id. If you omit it and the user has one workspace with API access, that workspace is used. If they have several, the API returns 409 and the list of eligible workspaces.

What can a call change?

crm:read covers lists, lookups, the workspace summary, engagement, history, and research reads. crm:write covers create, update, delete, send, schedule, research refresh, and bulk delete. Write does not include read.

How is this different from MCP?

MCP is how an assistant operates the CRM in conversation. The REST API is how your own application does that work over HTTPS. ChatGPT’s interactive widgets are MCP-only.

Build against the CRM. Keep the workspace in YouEx.

The REST API, Zapier, and the Salesforce package are included on Professional and Enterprise. MCP is included on every plan.