Evo Voice

<back to all web services

CogitoRecordCallRequest

The following routes are available for this service:
All Verbs/nodes/cogito/call-recording
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Voice.Api.Nodes.AI

Namespace Global

    Namespace Voice.Api.Nodes.AI

        Public Partial Class CogitoRecordCallRequest
            Public Overridable Property SessionId As String
            Public Overridable Property CallSid As String
            Public Overridable Property FileName As String
        End Class

        Public Partial Class CogitoRecordCallResponse
            Public Overridable Property Uri As String
        End Class
    End Namespace
End Namespace

VB.NET CogitoRecordCallRequest DTOs

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

HTTP + OTHER

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

POST /nodes/cogito/call-recording HTTP/1.1 
Host: evovoice.io 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"sessionId":"String","callSid":"String","fileName":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"uri":"String"}