Called during synchronization to pull in the messages from the conversation in your system. Messages which have already been synchronized will be ignored. New messages will be pulled into Fin's version of the Conversation.
Security
BearerAuth
POST
curl -i -X POST \
https://helpdesk.example.com/api/fin/get_messages \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"conversation_id": "conv_456",
"after_id": "msg_101"
}'Messages retrieved successfully
dataArray of objects(Message)
errorobject or null(ProblemDetails)
The error returned by the API. This is an RFC 7807 problem details object: https://www.rfc-editor.org/rfc/rfc7807.html.
Response
- EndUser
- Agent
- Multiple messages
- No messages
{ "data": [ { … }, { … } ] }