Log an external Call activity
Use this endpoint to log calls made outside of the Close built-in VoIP system.
*status*: defaults to `completed`
*direction* (optional): `outbound` or `inbound`
*recording_url*: you can post a URL pointing to the MP3 recording of your call. For security reasons, we require the URL to be secure (i.e. starting with https://)
Authentication
AuthorizationBasic
Basic authentication of the form Basic <base64(username:)>.
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
activity_at
contact_id
conversation_type_id
created_by_id
custom_fields
date_created
direction
Allowed values:
duration
lead_id
note
note_html
organization_id
outcome_id
phone
Phone number in E.164 format
playbook_id
quality_info
recording_url
source
Allowed values:
status
user_id
voicemail_url
Response
Successful response
_type
activity_at
contact_id
created_by
date_created
date_updated
id
lead_id
organization_id
outcome_id
source
Source of a phone activity. Describes whether the phone activity (such as a call or an SMS) was handled by Close’s telephony provider or handled externally by a 3rd party and is merely logged in Close.
Allowed values:
status
Current status of the call.
updated_by
user_id
users
created_by_name
sequence_id
sequence_name
sequence_subscription_id
updated_by_name
user_name
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error