curl --request POST \
--url https://public-api.lonescale.com/brief/bulk \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"contacts": [
{
"crm_contact_id": "710432049398"
},
{
"linkedin_url": "https://www.linkedin.com/in/john-roe",
"company_name": "Globex"
}
],
"custom_details": "Q4 campaign on month-end close."
}
'{
"id": "9d2f6a54-1c1e-4f6b-8f0e-5a7c2b9e4d11",
"status": "running",
"total": 2,
"crm": "hubspot"
}{
"message": "At most 100 contacts per request",
"error": "Bad Request",
"statusCode": 400
}{
"message": "Invalid API Key",
"error": "Unauthorized",
"statusCode": 401
}{
"message": "AI assistant is not enabled for this member",
"error": "Forbidden",
"statusCode": 403
}{
"message": "HubSpot list not found",
"error": "Not Found",
"statusCode": 404
}Outreach brief
Brief many contacts
Writes the outreach brief of many people in one run: up to 100 contacts, or the contacts of a HubSpot list (segment) given as hubspot_list_id, 100 at a time (pass the returned next_after as after to run the next page).
Answers at once with the run id. The briefs are written in the background, a few at a time, about a minute each. Read the run on GET /brief/runs/{id}.
language, focus and custom_details apply to every contact that does not set its own.
When an admin picked the fields for it (Chrome extension settings), each email draft is written to its CRM record, where a CRM workflow or a sequence can start from it.
Requires the AI assistant to be enabled for the API key’s holder. No credits are charged. Rate limited to 5 requests per minute.
POST
/
brief
/
bulk
curl --request POST \
--url https://public-api.lonescale.com/brief/bulk \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"contacts": [
{
"crm_contact_id": "710432049398"
},
{
"linkedin_url": "https://www.linkedin.com/in/john-roe",
"company_name": "Globex"
}
],
"custom_details": "Q4 campaign on month-end close."
}
'{
"id": "9d2f6a54-1c1e-4f6b-8f0e-5a7c2b9e4d11",
"status": "running",
"total": 2,
"crm": "hubspot"
}{
"message": "At most 100 contacts per request",
"error": "Bad Request",
"statusCode": 400
}{
"message": "Invalid API Key",
"error": "Unauthorized",
"statusCode": 401
}{
"message": "AI assistant is not enabled for this member",
"error": "Forbidden",
"statusCode": 403
}{
"message": "HubSpot list not found",
"error": "Not Found",
"statusCode": 404
}Body
application/json

