Sleekplan API v2

Conversation

  • GETList conversationsReturns the workspace's conversations, by default the latest message first. Filters combine. Each row carries the visitor and a preview of the latest message: retrieve the conversation for its messages and notes.
  • POSTStart a conversationStarts a conversation with one of your customers, the person user names. from says who writes first.
  • GETRetrieve a conversationThe conversation with its messages and your team's internal notes. messages holds the newest 500, oldest first, so a longer thread shows only its newest 500. Messages don't page: after answers 400.
  • PUTUpdate a conversationA partial update: only the fields you send change. The body takes only status, snoozed_until, priority and handler, and any other field answers 400 validation_error naming it. priority is a JSON integer, never a string. The change is made in the name of the key's owner.
  • POSTReply to a conversationSends a reply to the visitor with type: reply, or adds an internal note for your team with type: note. type is required, and either one is written as the key's owner.