cURL
curl "https://api.superskope.com/api/v1/library" \
-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.library();
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/library",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}"},
timeout=40,
)
print(response.status_code, response.json())
{}{
"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>"
}Work and reports
Get shared library
Read phone-wide shared label and saved-reply definitions. Requires library:read. Exact key-selected conversations and current phone are enforced. This explicitly granted scope reads the selected phone’s shared library across chats. It does not expose saved views or custom-field definitions and grants no library writes.
cURL
curl "https://api.superskope.com/api/v1/library" \
-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.library();
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/library",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}"},
timeout=40,
)
print(response.status_code, response.json())
{}{
"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>"
}