Getting conversations

This endpoint is used for retrieving a list of conversations associated with a seller on Shopiro. It can be accessed via both GET and POST requests.

GET / POST https://shopiro.ca/api/v1/conversations/list?ct={count}&of={offset}

Request Parameters

  • ct: The number of conversations to retrieve. Defaults to 25 if not specified, incorrect, or out of range. (Optional)
  • of: The offset for pagination. Defaults to 0 if not specified or negative. (Optional)
Response Structure

Response Structure

The response will be a JSON object containing the list of conversations or a failure message.

  • success: An array of conversation entities with details such as creation date, agent ID, user language, and seller language. Includes 'offset' and 'count' for pagination.
  • failed: Indicates no conversations were found with the message 'no_conversations'.

Example Usage

On this page