Skip to main content
POST
Log a call

Authorizations

Authorization
string
header
required

Your API key, created in the Leadey dashboard under Settings → API Keys. Send it as Authorization: Bearer leadey_sk_live_….

Body

application/json
leadId
string
required

The lead who was called.

outcome
string

Outcome key from GET /call-outcomes. Defaults to sent.

notes
string

What was said. Appears on the lead's timeline and as the call's summary.

duration
integer

How long the call lasted, in seconds. Counts towards your talk-time metrics.

Required range: x >= 0
direction
enum<string>

Defaults to outbound.

Available options:
outbound,
inbound

Response

The call was logged.

data
object
required