Sales Engine
API documentation
ClientsOperation deals.emails.search

Deals emails search

Search the workspace's client mailboxes for an email to link to this deal; the contact's domain first.

GET/api/v1/deals/{id}/emails/search
Scope read: Read anything in the workspace.

Parameters

Path

NameInDescription
idrequiredpathThe record's id.

Query

NameInDescription
qquerySubject or sender contains.

Example

curl
curl -X GET "https://crm.ashwanth.dev/api/v1/deals/{id}/emails/search" \
  -H "Authorization: Bearer $SALES_ENGINE_API_KEY"
CLI
sales-engine deals emails search <id>

Response

A 200 with the result under data, on creation too. Errors come back as an error object with a stable code; see Errors.

Shape
{
  "data": { ... }
}

Run it below to see the live shape for your workspace.

Try it

Runs against this server, as the workspace behind the key.
Kept in this page while you browse the docs, gone on reload, never stored. Signed in to the app? Leave it blank and the call runs as you.
Path
required
The record's id.
Query
Subject or sender contains.
Request
GET /api/v1/deals/%7Bid%7D/emails/search
Fill the path first.

Also in Clients