Archived Chats

Retrieve a list of archived chats

GETchat/archivedChats

Retrieve a list of archived chat conversations.

Query String Parameters

limit

StringDefault Value: 0,10

The maximum number of results to return e.g. 10. Optionally include an offset as offset,count - e.g. 5,10 to return 10 items starting from index 5. You can request a maximum of 250 results in one request.

from

String

The start date-time for the query

to

String

The end date-time for the query

Definition

GET https://api.gosquared.com/chat/v1/archivedChats

Example Request

require_once('gosquared-php-sdk/main.php');

$GS = new GoSquared(array(
  'site_token' => 'GSN-106863-S',
  'api_key' => 'demo'
));

$result = $GS->chat->archivedChats();

Live Responseundefined undefined

Your API Key is not authorised for this endpoint

Please fill in the required fields in the Query Builder