cURL
curl "https://api.superskope.com/api/v1/capabilities" \
-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.capabilities();
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/capabilities",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}"},
timeout=40,
)
print(response.status_code, response.json())
{
"contractVersion": 1,
"inbox": true,
"inboxLive": true,
"inboxAttachments": true,
"inboxReplies": true,
"inboxAutomation": true,
"inboxAttachmentViewer": true,
"inboxReadOnly": true,
"advancedSchedules": true,
"chatAccess": true,
"exactMessages": true,
"groupHistory": true,
"chatActions": true,
"pullAgents": true,
"agentDelegation": true,
"agentPresence": true,
"messageActions": true,
"agentRegistration": true,
"agentEnrollment": true,
"botMessages": true,
"inboxStartChats": true
}{
"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 capabilities
Read installed transport capabilities. Requires status:read. Available in the prepared source release; verify your installed capabilities.
cURL
curl "https://api.superskope.com/api/v1/capabilities" \
-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.capabilities();
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/capabilities",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}"},
timeout=40,
)
print(response.status_code, response.json())
{
"contractVersion": 1,
"inbox": true,
"inboxLive": true,
"inboxAttachments": true,
"inboxReplies": true,
"inboxAutomation": true,
"inboxAttachmentViewer": true,
"inboxReadOnly": true,
"advancedSchedules": true,
"chatAccess": true,
"exactMessages": true,
"groupHistory": true,
"chatActions": true,
"pullAgents": true,
"agentDelegation": true,
"agentPresence": true,
"messageActions": true,
"agentRegistration": true,
"agentEnrollment": true,
"botMessages": true,
"inboxStartChats": true
}{
"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>"
}Authorizations
Response
Success