Incoming Calls
HTTP Requests from teleapi to your Webserver

HTTP Post from teleapi to your web server

Once you have the Incoming Call URL set, the web calls will come in normal HTTP post variables as displayed below. POST Objects - Incoming Post Request - New Incoming Call
1
POST fields in readable format:
2
[CallSid] => IDfbf7e812ere32hfhfg6e10-Cd5dacca0c-CA9d3572be-9f7a-11ea-97f4-5ffeb3239325
3
[InstanceId] => ID242258723hHds8fh29G4569b66e10
4
[AccountSid] => AC06bc1hjh293hFH9edjJ23539a9ddb1
5
[From] => 3035550000
6
[To] => 8044731212
7
[CallStatus] => ringing [or] completed [or] in-progress
8
[ApiVersion] => 2012-04-24
9
[Direction] => inbound
10
[CallerName] => 3035550000
11
[ForwardedFrom] => null
12
[CallTimestamp] => 2020-05-26T17:59:16.555Z
13
[PostStatus] => callback [or] new
Copied!
POST Objects - Status Update from an Outbound Call
1
[CallSid] => ID242253601re32hfhfg6e10-CAceda56a709534034ae7c0e3a304b4d96
2
[InstanceId] => ID242258723hHds8fh29G4569b66e10
3
[AccountSid] => AC06bc1hjh293hFH9edjJ23539a9ddb1
4
[From] => 8044735555
5
[To] => 3035551212
6
[CallStatus] => in-progress
7
[ApiVersion] => 2012-04-24
8
[Direction] => outbound-api
9
[CallerName] => 8044735896
10
[ForwardedFrom] => null
11
[CallTimestamp] => 2020-05-26T17:29:55.125Z
12
[VoicemailDetector] => voicemail [or] person_found
Copied!

3.4.1 Post Fields - Incoming Calls

Attribute
Description
CallSid
A string that uniquely identifies this call.
InstanceId
Server instance ID that this call came from.
AccountSid
The date that this call was created.
From
The party who initiated the call.
To
The party who received the call.
CallStatus
A descriptive status for the call. The value is one of queued, initiated, ringing, in-progress, busy, failed or no-answer.
ApiVersion
Always set to 2012-04-24.
Direction
Always inbound for inbound calls.
CallerName
If this call was an incoming call, the caller’s name. Empty otherwise.
ForwardedFrom
Where the call was forwarded from (null normally).
CallTimestamp
Timestamp when the call began: 2020-06-01T03:15:51.929Z.
PostStatus
Set to new or callback new - the call is coming in for the first time. callback - this is a callback notification / advancement of the call.