Skip to main content
POST
Add a manual log entry

Headers

Authorization
string
required

Bearer [access_token]

Content-Type
string
required

application/json

Body

application/json

Manual log entry payload.

leadId
integer<int64>
required

ID of the lead to attach this log to. Must be accessible to the caller.

Example:

563172647619608

logType
enum<string>
required

Channel of the manual log entry.

Available options:
logCall,
logEmail,
logText
Example:

"logCall"

content
string
required

Free-text body of the log entry: call notes, email body, or SMS content. Silently truncated to 5000 characters.

Maximum string length: 5000
Example:

"Discussed Austin inventory, will send pre-approval doc tomorrow."

leadPhoneNumber
string

Phone number that was called. Required when logType = logCall. Max 20 characters.

Maximum string length: 20
Example:

"5865865860"

callingOutcome
enum<string>

Outcome of the call. Only meaningful when logType = logCall. Max 20 characters.

Available options:
Talked,
VoiceMessage,
NoAnswer,
BadNumber,
DNCNumber,
DNCContact
Maximum string length: 20
Example:

"VoiceMessage"

outboundOrInbound
enum<string>
default:outbound

Direction of the communication from the agent's point of view. 'outbound' = agent -> lead; 'inbound' = lead -> agent. Defaults to 'outbound' when omitted.

Available options:
outbound,
inbound
Example:

"outbound"

isPin
boolean
default:false

Whether to pin this entry to the top of the lead's timeline.

Example:

false

emailSubject
string

Email subject. Only meaningful when logType = logEmail; ignored otherwise.

Example:

"Follow-up on Austin listings"

toEmail
string

Recipient email address. Only meaningful when logType = logEmail; ignored otherwise.

Example:

"sarah.johnson@example.com"

fromEmail
string

Sender email address. Only meaningful when logType = logEmail; ignored otherwise.

Example:

"agent@lofty.com"

Response

Entry accepted for persistence. The response contains the newly assigned ID.

Wrapped response for GET /v1.0/logType/{id} and POST /v1.0/logType. The manual log entry is returned under the 'logType' key.

logType
object

Manual log entry.