Calls

Log call

post/calls

Request

  • Base URL
    https://api.amplemarket.com
  • URL
    https://api.amplemarket.com/calls
  • Auth
    HTTP bearer

Request body

fromstring required

The phone number that initiated the call

tostring required

The phone number that received the call

durationinteger required

The duration of the call in seconds

answeredboolean required

A boolean indicating whether the call was answered

humanboolean required

A boolean indicating whether a human answered the call or if it was detected as a machine/voicemail

transcriptionstring

The text representation of the call's audio, if available

recording_urlstring

URL of the call recording. Amplemarket stores the URL and does not download the recording.

disposition_idstring uuid

Call disposition ID. If the given disposition has its action set to "complete", the specified task will be marked as completed, along with the associated sequence lead.

task_idstring uuid required
user_idstring uuid required

Response

successful

idstring uuid
disposition_idstring uuid
disposition_namestring nullable
durationinteger
fromstring
tostring
notesstring nullable
transcriptionstring nullable
recording_urlstring nullable

URL of the call recording, as submitted when logging the call. Empty if no recording URL was submitted.

task_idstring uuid
user_idstring uuid
user_emailstring
answeredboolean
humanboolean
externalboolean
direction'incoming' | 'outgoing'
start_datestring date_time

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status