cURL
curl "https://api.superskope.com/api/v1/chats/120000000000@g.us/messages/false_120000000000@g.us_EXAMPLE" \
-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.message('120000000000@g.us', 'false_120000000000@g.us_EXAMPLE');
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/chats/120000000000@g.us/messages/false_120000000000@g.us_EXAMPLE",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}"},
timeout=40,
)
print(response.status_code, response.json())
{
"accountId": "<string>",
"chatId": "<string>",
"message": {
"id": "<string>",
"text": "<string>",
"kind": "<string>",
"fromMe": true,
"timestamp": 123,
"hasMedia": true,
"sender": "<string>",
"senderName": "<string>",
"senderNumber": "<string>",
"ack": 1,
"replyTo": {
"id": "<string>",
"text": "<string>",
"kind": "<string>",
"number": "<string>",
"unavailable": true
},
"mentions": [
"<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
Get a message
Read one exact verified message. Requires messages:read. Selected-conversation access and current account checks apply.
cURL
curl "https://api.superskope.com/api/v1/chats/120000000000@g.us/messages/false_120000000000@g.us_EXAMPLE" \
-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.message('120000000000@g.us', 'false_120000000000@g.us_EXAMPLE');
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/chats/120000000000@g.us/messages/false_120000000000@g.us_EXAMPLE",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}"},
timeout=40,
)
print(response.status_code, response.json())
{
"accountId": "<string>",
"chatId": "<string>",
"message": {
"id": "<string>",
"text": "<string>",
"kind": "<string>",
"fromMe": true,
"timestamp": 123,
"hasMedia": true,
"sender": "<string>",
"senderName": "<string>",
"senderNumber": "<string>",
"ack": 1,
"replyTo": {
"id": "<string>",
"text": "<string>",
"kind": "<string>",
"number": "<string>",
"unavailable": true
},
"mentions": [
"<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>"
}