Add a manual log entry
Creates a manual log entry (logCall, logEmail or logText) for the target lead.
Notes:
- Persistence is asynchronous. The response returns the new entry’s ID once the write is enqueued; the entry becomes readable after a short delay.
- Caller must have access to the lead (owner, shared agent, or assigned lender), and the lead must not be trashed. Otherwise 404 LEAD_NOT_EXIST.
- leadId, logType and content are required for all channels.
- content is silently truncated to 5000 characters.
- outboundOrInbound must be exactly ‘outbound’ or ‘inbound’ when supplied; omitted values default to ‘outbound’.
- For logCall: leadPhoneNumber is required (max 20 characters). callingOutcome is optional (max 20 characters); values outside the known set are silently normalized to ‘Talked’ during persistence.
- For logEmail: emailSubject / toEmail / fromEmail are optional and accepted as-is.
Body
Manual log entry payload.
ID of the lead to attach this log to. Must be accessible to the caller.
563172647619608
Channel of the manual log entry.
logCall, logEmail, logText "logCall"
Free-text body of the log entry: call notes, email body, or SMS content. Silently truncated to 5000 characters.
5000"Discussed Austin inventory, will send pre-approval doc tomorrow."
Phone number that was called. Required when logType = logCall. Max 20 characters.
20"5865865860"
Outcome of the call. Only meaningful when logType = logCall. Max 20 characters.
Talked, VoiceMessage, NoAnswer, BadNumber, DNCNumber, DNCContact 20"VoiceMessage"
Direction of the communication from the agent's point of view. 'outbound' = agent -> lead; 'inbound' = lead -> agent. Defaults to 'outbound' when omitted.
outbound, inbound "outbound"
Whether to pin this entry to the top of the lead's timeline.
false
Email subject. Only meaningful when logType = logEmail; ignored otherwise.
"Follow-up on Austin listings"
Recipient email address. Only meaningful when logType = logEmail; ignored otherwise.
"sarah.johnson@example.com"
Sender email address. Only meaningful when logType = logEmail; ignored otherwise.
"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.
Manual log entry.