cURL
curl "https://api.superskope.com/api/v1/requests/order-1042-reply" \
-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.requestState('order-1042-reply');
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/requests/order-1042-reply",
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>"
}Events and logs
Get request state
Inspect this key’s original request by its Idempotency-Key. Message requests require the original send scope (messages:write or messages:bot). Group, schedule, work and other effects require the original write scope and selected chat. Completed message requests and completed effects are retained for 90 days; uncertain operations are kept until reviewed. A missing record is not proof that nothing happened. Never replay using a rotated key.
cURL
curl "https://api.superskope.com/api/v1/requests/order-1042-reply" \
-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.requestState('order-1042-reply');
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/requests/order-1042-reply",
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>"
}