Evo Voice

<back to all web services

AppGetHomeInformation

Requires Authentication
The following routes are available for this service:
GET/portal/home
AppGetHomeInformation Parameters:
NameParameterData TypeRequiredDescription
AccountIdquerystringNo
CustomerIdquerystringNo
FromDatequerystringNo
AppHomeInformation Parameters:
NameParameterData TypeRequiredDescription
IsHostedSuiteCustomerformboolNo
ConversationsformList<ConversationInfo>No
CallsformList<SessionInfo>No
CallMetricsformList<AppHomeCallMetric>No
VoicemailformList<FileInfo>No
FormsformList<HostedSuiteCompletedForm>No
ConversationInfo Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
EndpointIdformstringNo
OtherAddressformstringNo
MostRecentMessageformMessageInfoNo
MessageInfo Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
AccountIdformstringNo
CustomerIdformstringNo
EndpointIdformstringNo
EndpointDisplayNameformstringNo
DateformstringNo
DirectionformMessageDirectionsNo
OtherAddressformstringNo
SenderformstringNo
TextformstringNo
IsUnreadformboolNo
MessageDirections Enum:
Incoming
Outgoing
SessionInfo Parameters:
NameParameterData TypeRequiredDescription
DialStateformSessionDialStateNoThe state of the session
CallStateformSessionCallStateNoThe call state of the session
QueueStateformSessionQueueStatesNoThe queue state of the session
AccountIdformstringNoThe ID of the account associated with the flow
AccountNameformstringNoThe name of the account associated with the session
CustomerIdformstringNoThe ID of the customer this session is associated with
CustomerBreadcrumbformList<CustomerBreadcrumb>NoThe customer breadcrumb this session is associated with
CustomerNameformstringNoThe name of the customer this session is associated with
EndpointIdformstringNoThe ID of the endpoint associated with this session
EndpointNameformstringNoThe name of the endpoint associated with this session
DateCompletedformstringNoThe date the call completed
DestinationformstringNoThe destination of the session (e.g. what was entered into the Dial box)
ToAddressformstringNoThe to address if any
FromAddressformstringNoThe from address if any
FromNameformstringNoThe from name if any
AnsweredByNameformstringNoAnswered by name (if any)
QueueMemberIdformstringNoThe ID of the queue member assigned to this call
ChannelformFlowChannelsNoThe flow channel
EndedformboolNoHas the session ended
OutcomeformstringNoThe outcome of the call
CallSidformstringNoThe twilio Call SID of this session
ConsoleDataformstringNoAny console data for this session
HoldQueueNameformstringNoThe name of the hold queue for this call
HeldByUserIdformstringNoThe user ID who put this call on hold
HoldReasonformSessionHoldReasonsNoThe reason for the hold
ConferenceSidformstringNoThe SID of the conference if in a conference call
DisplayNameformstringNoThe display name for this session
LogformList<SessionLogInfo>NoThe log entries for this session
MembersformList<SessionMemberInfo>NoThe members of this session
CallbackNumberformstringNoThe callback number (typically used for SIP to User calls)
AnsweredByIdformstringNoThe ID of the endpoint that answered
DirectionformSessionDirectionsNoIs this session incoming or outgoing?
FromPhoneNumberformstringNoThe phone number that this session is coming from (used with SMS chats)
MostRecentParticipantCallSidformstringNoThe Call SID of the most recently added conference participant
WasMissedformboolNoWas this session missed?
RingQueueIdformstringNoThe ring queue that the call is currently in
EntityInfo Parameters:
NameParameterData TypeRequiredDescription
IdformstringNoThe ID of the object
DateCreatedformstringNoThe date the object was created
DateLastModifiedformstringNoThe date the object was last modified
CreatedByformstringNoThe user that created this object
LastModifiedByformstringNoThe user that last modified this object
SessionDialState Enum:
None
Active
SessionCallState Enum:
Disconnected
Ringing
Connected
Hold
Passive
SessionQueueStates Enum:
None
Queued
Ringing
Connected
Hold
Disconnected
CustomerBreadcrumb Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
FlowChannels Enum:
Voice
Chat
Fax
SessionHoldReasons Enum:
None
Transferring
SessionLogInfo Parameters:
NameParameterData TypeRequiredDescription
DateformstringNo
MessageformstringNo
SessionMemberInfo Parameters:
NameParameterData TypeRequiredDescription
IdentityformstringNo
EndpointIdformstringNo
DisplayNameformstringNo
IsOriginalMemberformboolNo
AvatarUrlformstringNo
ApplicationDataformDictionary<string, string>No
CallStateformSessionMemberCallStateNo
RoleformSessionMemberRolesNo
CallSidformstringNo
MutedformboolNo
SessionMemberCallState Enum:
None
Ringing
Connected
Hold
SessionMemberRoles Enum:
None
Caller
Agent
Transfer
SessionDirections Enum:
Incoming
Outgoing
AppHomeCallMetric Parameters:
NameParameterData TypeRequiredDescription
MetricKeyformstringNo
TotalformdoubleNo
AverageformdoubleNo
FileInfo Parameters:
NameParameterData TypeRequiredDescription
TypeformFileTypesNoThe type of file this is
AccountIdformstringNoThe account ID this file is associated with
AccountNameformstringNoThe name of the account this file is associated with
CustomerIdformstringNoThe ID of the customer this file is associated with
CustomerNameformstringNoThe name of the customer this file is associated with
CustomerBreadcrumbformList<CustomerBreadcrumb>NoThe breadcrumb to the customer for this file
UserIdformstringNoThe ID of the user this file is assocaited with
UserNameformstringNoThe name of the user this file is associated with
FileNameformstringNoThe original file name for the file
UriformstringNoThe URI of the file
ContentTypeformstringNoThe Content type of the file
ContentLengthformlongNoThe size of the file
RecordingSidformstringNoThe Twilio ID of the recording
RecordingDurationformintNoThe duration of the recording in seconds
RecordingFromformstringNoWho is the recording from?
TranscriptionformstringNoTranscription (if available)
FromAddressformstringNoFrom Address (e.g. caller ID) for incoming calls
ToAddressformstringNoTo Address (e.g. dialed number) for outgoing calls
FileTypes Enum:
Upload
VoiceMessage
CallRecording
Fax
Attachment
FaxOutgoing
HostedSuiteCompletedForm Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
DateCreatedformstringNo
DateCompletedformstringNo
FormIdformstringNo
FormNameformstringNo
ClientIdformstringNo
ClientNameformstringNo
ContactIdformstringNo
ContactNameformstringNo
ContactsIdsformList<string>No
ContactsNamesformList<string>No
EmailSubjectformstringNo
CallerNumberformstringNo
FieldsformList<HostedSuiteCompletedFormField>No
HostedSuiteCompletedFormField Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ValuesformList<string>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /portal/home HTTP/1.1 
Host: evovoice.io 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"isHostedSuiteCustomer":false,"conversations":[{"id":"String","endpointId":"String","otherAddress":"String","mostRecentMessage":{"id":"String","accountId":"String","customerId":"String","endpointId":"String","endpointDisplayName":"String","date":"String","direction":"Incoming","otherAddress":"String","sender":"String","text":"String","isUnread":false}}],"calls":[{"dialState":"None","callState":"Disconnected","queueState":"None","accountId":"String","accountName":"String","customerId":"String","customerBreadcrumb":[{"id":"String","name":"String"}],"customerName":"String","endpointId":"String","endpointName":"String","dateCompleted":"String","destination":"String","toAddress":"String","fromAddress":"String","fromName":"String","answeredByName":"String","queueMemberId":"String","channel":"Voice","ended":false,"outcome":"String","callSid":"String","consoleData":"String","holdQueueName":"String","heldByUserId":"String","holdReason":"None","conferenceSid":"String","displayName":"String","log":[{"date":"String","message":"String"}],"members":[{"identity":"String","endpointId":"String","displayName":"String","isOriginalMember":false,"avatarUrl":"String","applicationData":{"String":"String"},"callState":"None","role":"None","callSid":"String","muted":false}],"callbackNumber":"String","answeredById":"String","direction":"Incoming","fromPhoneNumber":"String","mostRecentParticipantCallSid":"String","wasMissed":false,"ringQueueId":"String","id":"String","dateCreated":"String","dateLastModified":"String","createdBy":"String","lastModifiedBy":"String"}],"callMetrics":[{"metricKey":"String","total":0,"average":0}],"voicemail":[{"type":"Upload","accountId":"String","accountName":"String","customerId":"String","customerName":"String","customerBreadcrumb":[{"id":"String","name":"String"}],"userId":"String","userName":"String","fileName":"String","uri":"String","contentType":"String","contentLength":0,"recordingSid":"String","recordingDuration":0,"recordingFrom":"String","transcription":"String","fromAddress":"String","toAddress":"String","id":"String","dateCreated":"String","dateLastModified":"String","createdBy":"String","lastModifiedBy":"String"}],"forms":[{"id":"String","name":"String","dateCreated":"String","dateCompleted":"String","formId":"String","formName":"String","clientId":"String","clientName":"String","contactId":"String","contactName":"String","contactsIds":["String"],"contactsNames":["String"],"emailSubject":"String","callerNumber":"String","fields":[{"name":"String","values":["String"]}]}]}