Reach

prospects, leads, outreach and sequences

prospectv1.0.0

find prospects

project-write

Find prospects

prospect_run: Turn one sentence about who the business sells to into prospects: a research pass returns candidate companies with the page that named each, each candidate's own site is read for the gap the ICP hunts for, and every candidate lands on the Leads board as a lead carrying that gap with its citation and a fit rating against the ICP's must-haves and disqualifiers. Nothing is drafted and nothing is sent.Teamruns on a thread, stream it

FieldTypeRequiredDescription
icpstringrequiredwho the business sells to, in the owner's own words — it must name a trade and a place
countnumberoptionalhow many candidates to land; omit for ten, and at most twenty-five

Contract On the tool surface the run is queued, not awaited: the answer is {action: "queued", taskId, lands}, and the leads reach the board, readable with lead_list, as that task completes.

Contract The sentence must name a trade and a place: a run whose sentence names neither is refused naming what is missing, and the missing half is asked of the person rather than filled in for them.

Contract A candidate carries the page that named it and the page its gap was read on; a lead whose citation cannot be opened is not landed, so an empty answer means the crawl found nothing, never that the finding was dropped.

leadv1.0.0

leads and deals: list, add, rate, research, refresh, set a stage

Who the business is reaching and who sells: the lead board and the roster over it.

GET/v1/gtm/leadsSessionTeam

Read the leads board

Page the project's leads, newest first, or one status column at a time.

A lead is a ROLE on a person, never a record of its own: the row carries the person it stands on, so a lead thrown out drops the role and leaves the person in the graph.

`fit` is rated against the lead's ICP and carries the rationale it was rated on, so a score you disagree with is arguable against its evidence rather than its number.

Query parameters

FieldTypeRequiredDescription
statusstringoptionalOne status column (e.g. `PROSPECT`). Omitted reads every column.
cursorstringoptionalCursor from a previous page.
limitintegeroptionalPage size, capped at 200.
Request · curl
curl -X GET "https://runlogai.com/runlogapi/gtm/leads?status=PROSPECT&limit=25" \
  -H "Authorization: Bearer $RUNLOG_SESSION_TOKEN" \
  -H "X-Project-Id: p7Kd2mQx"
Response · 200
{
  "items": [
    {
      "entityId": "e_2Kd9Lp",
      "fit": 78.5,
      "fullName": "Amber Nunes",
      "gap": {
        "pageUrl": "https://example.com/contact",
        "rule": "no online booking"
      },
      "icpEntityId": "icp_5Hn2Kp",
      "leadId": "ld_4Kd2Qm",
      "personId": "ld_4Kd2Qm",
      "status": "PROSPECT"
    }
  ],
  "nextCursor": ""
}

Errors

StatuserrorWhen
404project not foundThe project does not exist, or you have no access to it. Projects are non-enumerable, so a denied read is indistinguishable from a missing one.
401invalid API keyThe `Authorization` header is missing, malformed, or names a revoked key.
400name the target project via the X-Project-Id header or projectId queryNo project was named and the key is not bound to one.
429rate limit exceededYou passed 60 requests/minute on this key. `Retry-After` carries the seconds to wait.
500internal errorThe service failed to serve the request. Retry with backoff; the cause is logged server-side against your request.
GET/v1/gtm/membersSessionTeam

Read who sells

Read the people with access to this project, each with what they chose and what they are carrying.

The roster is the project's access list. There is no role to grant: someone who can open the project is a member, and `takingLeads` is theirs to set.

`openLeads` is counted from the leads they own at read time, so no stored count can drift from the board.

`writingStyle` is distilled from what that member has already sent, and it is what a draft is written in — so a roster with no sent mail yet drafts in the project's own voice rather than in nobody's.

Request · curl
curl -X GET "https://runlogai.com/runlogapi/gtm/members" \
  -H "Authorization: Bearer $RUNLOG_SESSION_TOKEN" \
  -H "X-Project-Id: p7Kd2mQx"
Response · 200
{
  "items": [
    {
      "email": "amber@example.com",
      "fullName": "Amber Nunes",
      "leadCapacity": 50,
      "openLeads": 14,
      "takingLeads": true,
      "uid": "ae_5Hn2Kp"
    }
  ]
}

Errors

StatuserrorWhen
404project not foundThe project does not exist, or you have no access to it. Projects are non-enumerable, so a denied read is indistinguishable from a missing one.
401invalid API keyThe `Authorization` header is missing, malformed, or names a revoked key.
400name the target project via the X-Project-Id header or projectId queryNo project was named and the key is not bound to one.
429rate limit exceededYou passed 60 requests/minute on this key. `Retry-After` carries the seconds to wait.
500internal errorThe service failed to serve the request. Retry with backoff; the cause is logged server-side against your request.
read

List leads

lead_list: Read the leads board: the people the business intends to reach, with the status each stands at, the ICP each is rated against, its fit, the gap that opens its email, the AE carrying it and when its next action falls due.Teamruns on a thread, stream it

FieldTypeRequiredDescription
statusstringoptionalone status column — SUSPECT, PROSPECT, OUTREACH, OUTREACH_SENT, REPLIED, MEETING_BOOKED, IN_NEGOTIATION, CLOSED_WON or CLOSED_LOST; omit to read every column
cursorstringoptionalthe nextCursor from a prior read, to continue the window
limitnumberoptionalrows to return; omit for fifty, and at most two hundred

Contract A lead is a role on a person, so the row carries the person it stands on; act on the person by name and the lead by its id, never the other way round.

Contract The window is bounded: pass the returned nextCursor to continue, and treat an empty one as the last page.

project-write

Rate a lead

lead_rate: Rate one lead against an ICP's must-haves and disqualifiers, over the material the project already holds about that company, and write the rating onto the lead with the rationale each criterion was scored on.Teamruns on a thread, stream it

FieldTypeRequiredDescription
leadIdstringrequiredthe lead to rate
icpIdstringoptionalthe ICP to rate against, by its record id; omit to use the one the lead already carries

Contract An ICP stating no must-have and no disqualifier rates nothing rather than rating everything at zero: the refusal names the missing rubric, and the move is to fill the ICP first.

Contract The rating is rated on what the project holds: a lead no research has landed material for scores on nothing, so run the research before reading the number as a judgment of the company.

project-write

Research a lead

lead_research: Research one lead the way the lead's own Research press does: queue a profile scrape on each connected browser or API channel, run the grounded web pass over the person and their employer, and write the summary, the response likelihood, the channel angles and any net-new contact onto the lead.Teamruns on a thread, stream it

FieldTypeRequiredDescription
leadIdstringrequiredthe lead to research
channelsstring[]optionalthe channels to scrape on; omit for every browser or API channel the caller has connected
urlsstring[]optionalpages to read first, before the web pass searches

Contract A queued channel scrape runs when a person presses Run in the Chrome extension; the answer names the channels queued, and their findings land as they arrive.

Contract An empty extracted field never blanks what earlier research wrote, and a contact the person already holds is not added twice.

project-write

Add a lead

lead_add: Put one person a business means to reach on the Leads board by hand: the person settles onto the entity the project already holds for them, the company they work at settles the same way, and the lead lands at PROSPECT with an owner.Teamruns on a thread, stream it

FieldTypeRequiredDescription
namestringrequiredthe person's full name
companystringoptionalwhere they work, by name
titlestringoptionaltheir job title
emailstringoptionaltheir work email, as the person stated it
linkedinUrlstringoptionaltheir LinkedIn profile URL

Contract A person the project already holds lands on that person: adding them again revises nothing they hold and never moves the lead's stage, owner or touches.

Contract Nobody is invented to hold a lead: an addition naming no person is refused.

project-write

Set a deal's stage

lead_stage: Set one lead's rung on the deal stage ladder from evidence the person or Ro states (a reply, a call held, paper sent), with its value when stated; the move lands on the lead as a decision with its evidence and date, and the Timeline's weighted pipeline is read again.Teamruns on a thread, stream it

FieldTypeRequiredDescription
leadIdstringrequiredthe lead whose stage moves
stagestringrequireda rung the deal-stage-ladder structure declares
evidencestringrequiredwhat happened that sets the stage
valuestringoptionalwhat the deal is worth, in dollars

Contract A stage off the ladder, or one stated without evidence, is refused and asked back.

Contract Only the stage, its evidence, its date and a stated value change on the lead.

project-write

Hand a lead to another member

lead_owner_change: Give the asking member's approval to moving one lead to another member: the lead changes owner once both the member who has it and the member who takes it have approved, and a platform admin may stand for either. The first approval records and waits; the answer names who is still needed.Teamruns on a thread, stream it

FieldTypeRequiredDescription
leadIdstringrequiredthe lead to hand over
ownerUidstringrequiredthe member who takes the lead

Contract The owner field never changes on one member's word: the current owner giving the lead away counts as theirs, and the new owner's approval completes it.

Contract A member who is neither side of the hand-over (and no admin) is refused naming both.

project-write

Refresh lead research

lead_refresh: Re-research the open leads whose research is four weeks old or more, least recent first, so a changed title or employer, a funding round or a hire reaches the lead; a moved person's new role becomes their current one. The step a weekly routine runs.Teamruns on a thread, stream it

FieldTypeRequiredDescription
limitnumberoptionalhow many leads one pass re-reads; omit for twenty-five

Contract Each lead re-read crawls the web for its person and employer and is billed like any research; the limit bounds the pass's spend.

outreachv1.0.0

the outreach queue: read, approve

Reaching a person is three steps on purpose: something drafts, a person approves, and only then does anything leave. An external send never fires on its own, not from an agent and not from a key acting unattended.

GET/v1/gtm/outreach/review-queueSessionTeam

Read the day's queue

Read the leads due a touch today, each as the approve-card a person answers.

Due is derived, never stored: a lead is due when its next action falls at or before now and later than its last touch, so nothing has to be swept to keep the queue current.

A suppressed person never reaches this read. Suppression is a gate rather than a column, so a stop added after a card was drawn still stops the send.

Request · curl
curl -X GET "https://runlogai.com/runlogapi/gtm/outreach/review-queue" \
  -H "Authorization: Bearer $RUNLOG_SESSION_TOKEN" \
  -H "X-Project-Id: p7Kd2mQx"
Response · 200
{
  "cards": [
    {
      "channel": "email",
      "draftId": "dr_7Hq2Rm",
      "fullName": "Amber Nunes",
      "leadId": "ld_4Kd2Qm",
      "subject": "Your intake backlog"
    }
  ]
}

Errors

StatuserrorWhen
404project not foundThe project does not exist, or you have no access to it. Projects are non-enumerable, so a denied read is indistinguishable from a missing one.
401invalid API keyThe `Authorization` header is missing, malformed, or names a revoked key.
400name the target project via the X-Project-Id header or projectId queryNo project was named and the key is not bound to one.
429rate limit exceededYou passed 60 requests/minute on this key. `Retry-After` carries the seconds to wait.
500internal errorThe service failed to serve the request. Retry with backoff; the cause is logged server-side against your request.
POST/v1/gtm/outreach/approve-bulkSessionTeam

Approve the day's drafts

Approve one or several staged drafts so the outreach substrate sends them.

Approval is what sends. Nothing before it leaves — a drafted message never dispatched is nobody speaking.

Idempotent per draft: re-posting an approval that already dispatched reports the same result rather than sending twice.

Body

FieldTypeRequiredDescription
itemsobject[]requiredThe drafts to approve, each naming its `leadId` and `draftId`.
Request · curl
curl -X POST "https://runlogai.com/runlogapi/gtm/outreach/approve-bulk" \
  -H "Authorization: Bearer $RUNLOG_SESSION_TOKEN" \
  -H "X-Project-Id: p7Kd2mQx" \
  -H "Content-Type: application/json" \
  -d '{
  "items": [
    {
      "draftId": "dr_7Hq2Rm",
      "leadId": "ld_4Kd2Qm"
    }
  ]
}'
Response · 200
{
  "results": [
    {
      "draftId": "dr_7Hq2Rm",
      "leadId": "ld_4Kd2Qm",
      "status": "sent"
    }
  ]
}

Errors

StatuserrorWhen
403editor access requiredYou can read the project but not write to it.
400invalid request bodyThe body is not JSON, or exceeds the 1 MB request-body cap.
404project not foundThe project does not exist, or you have no access to it. Projects are non-enumerable, so a denied read is indistinguishable from a missing one.
401invalid API keyThe `Authorization` header is missing, malformed, or names a revoked key.
400name the target project via the X-Project-Id header or projectId queryNo project was named and the key is not bound to one.
429rate limit exceededYou passed 60 requests/minute on this key. `Retry-After` carries the seconds to wait.
500internal errorThe service failed to serve the request. Retry with backoff; the cause is logged server-side against your request.
read

Read the outreach queue

outreach_queue_read: Read what is waiting on the asking person today: first the approvals waiting on them (a draft that needs their approval as the sending account's owner or the lead's owner, a lead handed to or from them), each with the reason, then the leads whose next touch is due and the drafts already staged against them, each with its channel, its subject, the body a person would approve, who has approved it and who is still needed.Teamruns on a thread, stream it

FieldTypeRequiredDescription

Contract A staged draft has not been sent and must never be reported as one — the queue is precisely the set of messages nobody has approved yet.

Contract A suppressed or stopped person never appears here. An empty queue means nothing is due, never that the read failed.

external-send

Approve outreach

outreach_approve: Approve one staged draft so the outreach substrate sends it with the AE's own connection. This is the step that sends, so perform it only on an explicit instruction naming the draft.Teamruns on a thread, stream it

FieldTypeRequiredDescription
leadIdstringrequiredthe lead the draft is for
draftIdstringrequiredthe staged draft to send, by the id the outreach queue reported
notestringoptionalwhy this was approved, recorded on the approval beside who approved it

Contract Approval is what sends. Nothing before it leaves, and nothing after it can be recalled, so an approval is never a step a plan takes on its own reading of a queue.

Contract Idempotent per draft: re-approving a draft that already dispatched reports the same result rather than sending a second message.

Contract A manual channel does not auto-send: the result names the instruction a person carries out, and the lead's cadence does not advance until it does.

read

Read outreach guidance

outreach_guidance_read: Read the project's outreach guidance: the phrases drafts avoid and prefer, the postal address and unsubscribe line every commercial email carries, the brand domains cold email never leaves from, and the recipient-local send window.Teamanswers inline

FieldTypeRequiredDescription

Contract It writes nothing and calls no model.

project-write

Set outreach guidance

outreach_guidance_set: Replace the project's outreach guidance whole: house style (avoid, prefer, notes), the postal address and unsubscribe line a commercial email must carry, the brand domains cold email never leaves from, the recipient-local hours a send may leave in (Monday to Friday) and the zone assumed when a recipient's location names none. Every draft and send reads it.Teamanswers inline

FieldTypeRequiredDescription
avoidstring[]optionalphrases a draft must not use, beyond the defaults
preferstring[]optionalphrasing or moves drafts should lean on
notesstringoptionalhouse style in the team's own words
postalAddressstringoptionalthe sender's postal address, which every commercial email's footer carries (CAN-SPAM)
unsubscribeLinestringoptionalthe line above the unsubscribe link; empty takes the default
brandDomainsstring[]optionaldomains cold email never leaves from, such as the brand's own
sendWindowStartHournumberoptionalfirst local hour a send may leave, 0-23; with the end both zero, 9 to 17
sendWindowEndHournumberoptionalhour the window closes, up to 24
defaultTimeZonestringoptionalIANA zone for a recipient whose location names none, such as Asia/Kolkata; empty sends such a recipient at any hour

Contract The guidance is replaced whole, so a field the input leaves out is cleared; read it first and send it back with the change.

Contract A window or zone no send could keep is refused naming why. A commercial email is refused while no postal address is set.

read

Read sending domains

outreach_sending_domains: Read each connected mailbox as a sending domain: the address it sends as, whether its domain publishes SPF, DKIM and DMARC for its provider, whether the cold-sender rule lets it send, its age, its ramped daily cap and what it sent in the last 24 hours.Teamanswers inline

FieldTypeRequiredDescription

Contract It reads DNS and the send ledger and writes nothing; a mailbox connected under a name that is no address reports its domain unread.

sequencev1.0.0

outreach sequences: list, approve, pause, enroll leads

read

List sequences

sequence_list: List the project's outreach sequences: each one's steps with their channel, wait and copy, whether it is approved and sending, and how many leads stand in it by state.Teamanswers inline

FieldTypeRequiredDescription

Contract It writes nothing and calls no model.

external-send

Approve a sequence

sequence_approve: Approve a drip whole: its steps in order, each a channel (email, linkedin or sms), the days it waits after the last, and its copy with slots such as {{first_name}} filled per lead. From then every due step of an enrolled lead sends with no click per message.Teamruns on a thread, stream it

FieldTypeRequiredDescription
sequenceIdstringoptionalthe sequence to replace; empty creates one
namestringrequiredthe sequence's name
stepsobject[]requiredthe steps in order, each {channel, offsetDays, subject, body}; an email step needs a subject

Contract Confirmed: approval is the founder's word for every send the sequence makes, so it is the person's press and never a model's.

Contract A step a sweep could not send as written is refused whole: no steps, a channel outside email, linkedin and sms, a negative wait, empty copy, a subjectless email, or a slot no lead fact fills.

project-write

Pause a sequence

sequence_pause: Pause a sequence so nothing more sends from it, or restart it; every lead keeps its place, and a restarted sequence sends what fell due meanwhile.Teamanswers inline

FieldTypeRequiredDescription
sequenceIdstringrequiredthe sequence
pausedbooleanrequiredtrue pauses it; false restarts it

Contract A pause only narrows what sends, so it runs at once on an editor's word.

external-send

Enroll leads in a sequence

sequence_enroll: Place leads at an approved sequence's first step; another member's lead waits until its owner enrolls it, a lead already in a sequence keeps that place, and an enrolled lead's manual next action clears so the drip is its one schedule.Teamruns on a thread, stream it

FieldTypeRequiredDescription
sequenceIdstringrequiredthe sequence
leadIdsstring[]requiredthe leads to enroll, by lead id

Contract Confirmed: an enrolled lead is sent to without a further click, so the person presses it.

Contract The lead's owner approves once, here: their own enrolling (or a platform admin's) starts the sends, another member's places the lead awaiting the owner, who approves by enrolling it.