Retrieve a call

GET/uc/{connection_id}/call/{id}

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Call

Returns

idstring
Unique identifier for this call object
created_atdate
The date that this call object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this call object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
contact_idstring
The contact ID for call (reference to UcContact)
telephoneobject
The telephone number called
start_atdate
The start time of the call (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
end_atdate
The end time of the call (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
user_idstring
(reference to HrisEmployee)
contacts array
is_privateboolean
user_namestring
user_phonestring
type enum
Valid values:
"INBOUND"
"OUTBOUND"
const options = {
  method: 'GET',
  url: 'https://api.unified.to/uc/5de520f96e439b002043d8dc/call/5de520f96e439b002043d8d8',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?