Add a call log

POST {{baseUrl}}/callLogs

Adds a new call log.

Request Body

{"to_phone_number"=>"<string>", "outcome"=>"<string>", "start_time"=>"<dateTime>", "end_time"=>"<dateTime>", "user_id"=>"<integer>", "activity_id"=>"<integer>", "subject"=>"<string>", "duration"=>"<string>", "from_phone_number"=>"<string>", "person_id"=>"<integer>", "org_id"=>"<integer>", "deal_id"=>"<integer>", "lead_id"=>"<uuid>", "note"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:{&quot;id&quot;:&quot;CAd92b224eb4a39b5ad8fea92ff0e&quot;,&quot;activity_id&quot;:7007,&quot;person_id&quot;:333222111,&quot;org_id&quot;:123456789,&quot;deal_id&quot;:553229734,&quot;subject&quot;:&quot;Just call me maybe&quot;,&quot;duration&quot;:&quot;0&quot;,&quot;outcome&quot;:&quot;busy&quot;,&quot;from_phone_number&quot;:&quot;+37277774841&quot;,&quot;to_phone_number&quot;:&quot;+37249234343&quot;,&quot;has_recording&quot;:false,&quot;start_time&quot;:&quot;2022-12-12T01:01:01.000Z&quot;,&quot;end_time&quot;:&quot;2022-12-12T01:02:01.000Z&quot;,&quot;user_id&quot;:777707777,&quot;company_id&quot;:66660666,&quot;note&quot;:&quot;A note for the call log&quot;}}