| POST | /Messages_Send |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| message | body | string | No | |
| message_type | body | MessageTypes | No | |
| Contact | body | List<string> | No | |
| SingleContact | body | string | No | |
| FromTeamMember | body | string | No | |
| DocumentId | body | string | No | |
| DocumentForContact | body | bool | No |
| text | |
| text_attach | |
| document |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Messages_Send HTTP/1.1
Host: wbs.e-teleport.ru
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"message":"String","message_type":"text","Contact":["String"],"SingleContact":"String","FromTeamMember":"String","DocumentId":"String","DocumentForContact":false}