cURL
curl "https://api.superskope.com/api/v1/groups/120000000000@g.us/history?limit=100" \
-H "Authorization: Bearer $SUPERSKOPE_API_KEY"
import { SuperSkope } from '@superskope/sdk';
const client = new SuperSkope({
origin: 'https://api.superskope.com',
apiKey: process.env.SUPERSKOPE_API_KEY,
});
const result = await client.groupHistory('120000000000@g.us', { limit: 100 });
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/groups/120000000000@g.us/history",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}"},
params={"limit": 100},
timeout=40,
)
print(response.status_code, response.json())
{
"accountId": "<string>",
"chatId": "<string>",
"coverage": "<string>",
"messages": [
{
"cursor": 123,
"id": "<string>",
"actor": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"text": "<string>",
"forwarded": true,
"quoted": true,
"truncated": true
}
],
"hasMore": true,
"nextCursor": 123,
"latestCursor": 123,
"name": "<string>",
"since": "<string>",
"until": "<string>",
"recordedSince": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Transport
List group history
Read retained group text and caption history. Requires history:read and messages:read. Selected-conversation access and current account checks apply.
cURL
curl "https://api.superskope.com/api/v1/groups/120000000000@g.us/history?limit=100" \
-H "Authorization: Bearer $SUPERSKOPE_API_KEY"
import { SuperSkope } from '@superskope/sdk';
const client = new SuperSkope({
origin: 'https://api.superskope.com',
apiKey: process.env.SUPERSKOPE_API_KEY,
});
const result = await client.groupHistory('120000000000@g.us', { limit: 100 });
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/groups/120000000000@g.us/history",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}"},
params={"limit": 100},
timeout=40,
)
print(response.status_code, response.json())
{
"accountId": "<string>",
"chatId": "<string>",
"coverage": "<string>",
"messages": [
{
"cursor": 123,
"id": "<string>",
"actor": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"text": "<string>",
"forwarded": true,
"quoted": true,
"truncated": true
}
],
"hasMore": true,
"nextCursor": 123,
"latestCursor": 123,
"name": "<string>",
"since": "<string>",
"until": "<string>",
"recordedSince": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}