Message Actions API
Listing Message Actions
First hit the URI:
|
Then, fetch the following URI from the response body:
|
The following is the response from the *GET* request and the actual response will depend upon the information given by you:
|
|
JSON Example
|
The following is the response from the *GET* request and the actual response will depend upon the information given by you: Response Body:
|
|
Update Message Actions
First hit the URI:
|
Then fetch the following URI from the response body:
|
|
|
JSON Example
|
|
|
Explanation of Data Fields
Parameter | Data Type | Operations | Description |
---|---|---|---|
DeliveryReceiptAction | Integer | Read/Write | The action to take for delivery receipt
messages. Possible values are given just below the table.
Default value: 1 |
EmailAction | Integer | Read/Write | The action to take for email messages.
Possible values are given just below the table.
Default value: 1 |
FaxAction | Integer | Read/Write | The action to take for fax messages.
Possible values are given just below the table.
Default value: 1 |
ObjectId | String(36) | Read Only | The primary key for this table. A globally unique system-generated identifier for a MessageHandler object |
RelayAddress | String(320) | Read/Write | The SMTP address to which messages should be relayed |
SubscriberObjectId | String(36) | Read Only | The unique identifier of the Subscriber object to which this message handler belongs. |
VoicemailAction | Integer | Read/Write | The action to take for voicemail messages.
Possible values are given just below the table.
Default value: 1 |
Email Action, Fax Action, Delivery Receipt Action, and Voicemail Action can take the following values:
- 0 - Reject the message
- 1 - Accept the message
- 2 - Relay the message
- 3 - Accept and relay the message