POST
/
webhooks
/
on-read
curl --request POST \
  --url https://yourdomain.com/webhooks/on-read \
  --header 'Content-Type: application/json' \
  --data '{
  "country_code": "+57",
  "cellphone": "3176477608",
  "session_id": "d2fa98d29a2670dfa119335df1b0371720d674f1677302aba228876a",
  "conversation_id": 34820,
  "question": {
    "type": "open",
    "text": "Hello! Good morning. I hope everything is well. Would you like to continue our conversation to resolve all your problems and concerns?"
  },
  "sent_at": "2021-06-22 15:19:06.473256",
  "sent_text": "Hello! Good morning. I hope everything is well. Would you like to continue our conversation to resolve all your problems and concerns?",
  "user_session_keys": [],
  "read_at": "2021-06-22 15:19:08"
}'
{}

Body

application/json

Information about the read event

Evento que se dispara cuando un mensaje es leído por el usuario

Response

200 - application/json

Response to update or add information to the session

JSON object with new information that will be replaced or added to the session for future use. The service must respond within 10 seconds.