cURL
# Persist the key first. Reuse it only to inspect an uncertain result.
curl -X POST "https://api.superskope.com/api/v1/connection/start" \
-H "Authorization: Bearer $SUPERSKOPE_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { SuperSkope } from '@superskope/sdk';
const client = new SuperSkope({
origin: 'https://api.superskope.com',
apiKey: process.env.SUPERSKOPE_API_KEY,
});
// Persist the key first. Reuse it only to inspect an uncertain result.
const idempotencyKey = process.env.IDEMPOTENCY_KEY;
const result = await client.startConnection({ idempotencyKey });
console.log(result);
import os
import requests
response = requests.post(
"https://api.superskope.com/api/v1/connection/start",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}", "Idempotency-Key": os.environ["IDEMPOTENCY_KEY"]},
json={},
timeout=40,
)
print(response.status_code, response.json())
{
"status": "<string>",
"accountId": "<string>",
"connectedAccountId": "<string>",
"confirmed": true,
"mismatch": true,
"paused": true,
"version": 1,
"state": "completed",
"requestId": "<string>",
"action": "<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>"
}{
"error": "<string>"
}Connection
Start pairing
Start or resume pairing. Requires connection:pair. Send . Starts only this assigned default session. Does not clear existing identity or resume paused business work. Missing/stale subscription blocks new pairing in billed mode.
cURL
# Persist the key first. Reuse it only to inspect an uncertain result.
curl -X POST "https://api.superskope.com/api/v1/connection/start" \
-H "Authorization: Bearer $SUPERSKOPE_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { SuperSkope } from '@superskope/sdk';
const client = new SuperSkope({
origin: 'https://api.superskope.com',
apiKey: process.env.SUPERSKOPE_API_KEY,
});
// Persist the key first. Reuse it only to inspect an uncertain result.
const idempotencyKey = process.env.IDEMPOTENCY_KEY;
const result = await client.startConnection({ idempotencyKey });
console.log(result);
import os
import requests
response = requests.post(
"https://api.superskope.com/api/v1/connection/start",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}", "Idempotency-Key": os.environ["IDEMPOTENCY_KEY"]},
json={},
timeout=40,
)
print(response.status_code, response.json())
{
"status": "<string>",
"accountId": "<string>",
"connectedAccountId": "<string>",
"confirmed": true,
"mismatch": true,
"paused": true,
"version": 1,
"state": "completed",
"requestId": "<string>",
"action": "<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>"
}{
"error": "<string>"
}Authorizations
Body
application/json
The body is of type object.
Response
Success