Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

Provide your API key in the x-api-key header.

Body

application/json

Who the brief is about. The CRM record id is the best input. Otherwise give the person's name with their current job title or company, and their LinkedIn URL or email when known: a person your CRM does not know still gets a brief, written from the fields given here and the profile LoneScale holds. A LinkedIn URL alone is enough only when LoneScale holds that profile. A brief with nothing to stand on (no CRM record, no profile, no role, no company, no custom_details) is refused with what to add.

crm_contact_id
string

The CRM record of the person: a HubSpot contact id, or a Salesforce Contact or Lead id. The best input: the brief reads the record, its account and their history, and the LinkedIn profile LoneScale holds for the URL on the record. An id the CRM does not know is refused.

Example:

"710432049398"

email
string

The person's email. Used to find them in the CRM when no crm_contact_id is given.

Example:

"jane.doe@acme.com"

linkedin_url
string

The person's LinkedIn profile URL. Used to find them in the CRM, and to read the profile LoneScale holds for them.

Example:

"https://www.linkedin.com/in/jane-doe"

full_name
string
Example:

"Jane Doe"

job_title
string

Their current job title, as their LinkedIn profile shows it. With crm_contact_id, leave it out: the record is read, and a CRM title is often old.

Example:

"Chief Financial Officer"

company_name
string
Example:

"Acme"

company_domain
string
Example:

"acme.com"

company_linkedin_url
string
crm_company_id
string

The CRM account, when you already know it: read by id instead of searched by domain or name.

country
string

The account's country (name or ISO code). Picks the drafts' language when language is not set.

profile
object

The person's profile, field by field. Every key is optional; unknown keys are ignored.

profile_text
string

The profile as plain text, when you do not have it field by field.

Maximum string length: 20000
past_experiences
object[]

Previous positions, most recent first. Each one is checked in the CRM (a past employer that is a customer is a strong opener). When omitted, LoneScale uses the profile it holds for linkedin_url.

Maximum array length: 10
custom_details
string

Anything your team knows about this prospect or this outreach: notes, an angle, an offer, facts from another tool. Used for the messaging.

Maximum string length: 4000
Example:

"Met at Money20/20. Asked about multi-entity consolidation."

focus
string

What the message should hook on, in a few words.

Maximum string length: 300
language
enum<string>

Language of the drafts. Default: the language of the account's country, else English.

Available options:
fr,
en
crm
enum<string>

The CRM to read. Default: the one picked in the Chrome extension settings, else the connected one. With no CRM connected, the brief is written from the data you send.

Available options:
hubspot,
salesforce
refresh
boolean

Write a new brief instead of the one LoneScale keeps for a few hours for the same contact.

Response

The brief, or its failure

id
string<uuid>
required

The run id, to read on GET /brief/runs/{id}.

status
enum<string>
required
Available options:
done,
running,
failed
brief
object

The outreach brief of one person.

error
string

failed: the reason.