HTTP connection
Last update: 5 hours ago by Irais Aguirre
HTTP connection details for the RCS inbound message and action webhook.
| URL | Defined by the client. The URL must be HTTPS. |
| Method | POST |
| Type | application/json |
Parameters
| Name | Description | Type |
|---|---|---|
| agentId | ID of the RCS agent that receives the user's message or action. | Number |
| msisdn | Phone number of the user who sends the message or performs the action. Delivered in E.164 format. | String |
| eventId | Only applies to user actions (make a call, open a URL, etc.). It is the unique identifier of the event; the receiver must treat the notification as a duplicate if the same eventId and msisdn pair was already sent previously. | String |
| messageId | Only applies to messages sent by the user. It is the unique identifier of the user's message; the receiver must treat the message as a duplicate if the same messageId and msisdn pair was already sent previously. | String |
| eventDate | Date and time, in UTC, when the message was sent or the action was performed. Value in milliseconds since January 1, 1970 00:00. | Number |
| messageText | Text written by the user. | String |
| action.postbackData | Value of the postbackData specified when the suggested action or reply was sent to the user. This value can be used for processing and decision-making based on business rules. | String |
| action.postbackText | Text the user saw in the suggested action or reply. | String |
| location.latLong | If the user sends a location, it is received in the format "latitude, longitude". | String |
| file.name | If the user sends a file, the name of that file. | String |
| file.url | If the user sends a file, the URL of that file. | String |
| file.mimeType | If the user sends a file, the MIME type of that file. | String |
| file.category | If the user sends a file, the file category. Possible values: "IMAGE","VIDEO","AUDIO". | String |
| file.size | If the user sends a file, the file size in bytes. | Number |
