Skip to main content

Client API v1.9

Added message statuses. Message now have a status property which can be one of the following values

  • 2 This means the message has been received by the Parley API. This is the default status when the message has been sent using the API.
  • 3 This means that the message has been received by the client but not read/rendered yet.
  • 4 This means that the message has been read/rendered by the client
warning

The status will only be updated if you use a web client that has support for this. It should call the PUT /messages/status/:newStatus endpoint with the new status.

You can update the status of a message with the new endpoint PUT /messages/status/:newStatus. For more info see PutMessagesStatus

You can retrieve a list of messages which are "unseen" (/unread) using the new endpoint GET /messages/unseen/count. For more info see GetMessagesUnseen