mirror of
https://github.com/cwinfo/envayasms.git
synced 2025-01-10 04:05:38 +00:00
add incoming call notifications to server api reference
This commit is contained in:
parent
816245f0ac
commit
2023299f84
@ -233,7 +233,7 @@ The following parameters are sent in all POST requests from EnvayaSMS:
|
|||||||
|
|
||||||
<dt>"incoming":</dt>
|
<dt>"incoming":</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Forward an incoming SMS or MMS message to the server
|
Forward an incoming message to the server (SMS, MMS, or call notification)
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>"send_status":</dt>
|
<dt>"send_status":</dt>
|
||||||
@ -300,15 +300,16 @@ Additional parameters sent in POST requests with <code>action=incoming</code>:
|
|||||||
The phone number of the message sender.
|
The phone number of the message sender.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>"message_type" ::= "sms" | "mms"</dt>
|
<dt>"message_type" ::= "sms" | "mms" | "call"</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Whether this message is an SMS or MMS.
|
Whether this message is a SMS, MMS, or a notification of an incoming call.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>"message" ::= <text></dt>
|
<dt>"message" ::= <text></dt>
|
||||||
<dd>
|
<dd>
|
||||||
The message body of the SMS, or the content of the <code>text/plain</code> part of the MMS.
|
The message body of the SMS, or the content of the <code>text/plain</code> part of the MMS.
|
||||||
For multipart SMS messages, this field contains all parts concatenated and may be longer than 160 characters.
|
For multipart SMS messages, this field contains all parts concatenated and may be longer than 160 characters.
|
||||||
|
(This field is empty for incoming call notifications.)
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>"timestamp" ::= <long integer></dt>
|
<dt>"timestamp" ::= <long integer></dt>
|
||||||
|
@ -273,7 +273,7 @@ The following parameters are sent in all POST requests from EnvayaSMS:
|
|||||||
|
|
||||||
<dt>"incoming":</dt>
|
<dt>"incoming":</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Forward an incoming SMS or MMS message to the server
|
Forward an incoming message to the server (SMS, MMS, or call notification)
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>"send_status":</dt>
|
<dt>"send_status":</dt>
|
||||||
@ -340,15 +340,16 @@ Additional parameters sent in POST requests with <code>action=incoming</code>:
|
|||||||
The phone number of the message sender.
|
The phone number of the message sender.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>"message_type" ::= "sms" | "mms"</dt>
|
<dt>"message_type" ::= "sms" | "mms" | "call"</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Whether this message is an SMS or MMS.
|
Whether this message is a SMS, MMS, or a notification of an incoming call.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>"message" ::= <text></dt>
|
<dt>"message" ::= <text></dt>
|
||||||
<dd>
|
<dd>
|
||||||
The message body of the SMS, or the content of the <code>text/plain</code> part of the MMS.
|
The message body of the SMS, or the content of the <code>text/plain</code> part of the MMS.
|
||||||
For multipart SMS messages, this field contains all parts concatenated and may be longer than 160 characters.
|
For multipart SMS messages, this field contains all parts concatenated and may be longer than 160 characters.
|
||||||
|
(This field is empty for incoming call notifications.)
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>"timestamp" ::= <long integer></dt>
|
<dt>"timestamp" ::= <long integer></dt>
|
||||||
|
Loading…
Reference in New Issue
Block a user