curl --request GET \
--url https://api.gigstack.io/v2/teams/{id}/integration-connection-sessions/{sessionId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gigstack.io/v2/teams/{id}/integration-connection-sessions/{sessionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.gigstack.io/v2/teams/{id}/integration-connection-sessions/{sessionId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"id": "<string>",
"team_id": "<string>",
"team": {
"id": "<string>",
"name": "<string>"
},
"provider": "airtable",
"method": "oauth",
"credential_livemode": true,
"effect_scope": "team_shared_credentials",
"status": "pending",
"created_at": 123,
"expires_at": 123,
"updated_at": 123,
"completion_url": "<string>",
"can_submit": true,
"recovery_available_at": 123,
"disclosures": [
"<string>"
],
"credential_schema": {},
"result": {
"connected": true,
"credentials_may_be_stored": true
},
"error": {
"code": "<string>",
"message": "<string>"
},
"resolution": {
"action": "released_for_new_session",
"resolved_at": 123
},
"recovery": {
"operation_id": "<string>",
"action": "register",
"original_status": "outcome_unknown",
"effect_scope": "shared_connection",
"livemode": true,
"local_disabled_count": 1,
"snapshot_complete": true,
"identity_verification": "pending",
"imports_disabled": true,
"prior_outcome_preserved": true
}
},
"timestamp": 123
}Read provider setup outcome
Requires a verified personal Firebase/MCP credential and current provider configuration authority. Team API/OAuth keys cannot impersonate their creator. Test import mode does not isolate real provider accounts; read effect_scope and disclosures. Returns current status and allowlisted result, never stored secrets or OAuth state. completed confirms this attempt; pending/awaiting_oauth/outcome_unknown do not. result.connected false never proves a previous connection is disconnected.
curl --request GET \
--url https://api.gigstack.io/v2/teams/{id}/integration-connection-sessions/{sessionId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gigstack.io/v2/teams/{id}/integration-connection-sessions/{sessionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.gigstack.io/v2/teams/{id}/integration-connection-sessions/{sessionId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"id": "<string>",
"team_id": "<string>",
"team": {
"id": "<string>",
"name": "<string>"
},
"provider": "airtable",
"method": "oauth",
"credential_livemode": true,
"effect_scope": "team_shared_credentials",
"status": "pending",
"created_at": 123,
"expires_at": 123,
"updated_at": 123,
"completion_url": "<string>",
"can_submit": true,
"recovery_available_at": 123,
"disclosures": [
"<string>"
],
"credential_schema": {},
"result": {
"connected": true,
"credentials_may_be_stored": true
},
"error": {
"code": "<string>",
"message": "<string>"
},
"resolution": {
"action": "released_for_new_session",
"resolved_at": 123
},
"recovery": {
"operation_id": "<string>",
"action": "register",
"original_status": "outcome_unknown",
"effect_scope": "shared_connection",
"livemode": true,
"local_disabled_count": 1,
"snapshot_complete": true,
"identity_verification": "pending",
"imports_disabled": true,
"prior_outcome_preserved": true
}
},
"timestamp": 123
}Authorizations
Authentication Method: HTTP Bearer token.
The runtime requires the literal Bearer prefix — a bare token in the
Authorization header is rejected with 401 unauthorized.
Header Format: Authorization: Bearer YOUR_API_KEY
Your API key is a JWT. Live keys operate on live data (livemode: true);
test keys operate on isolated test data (livemode: false).
Get your key at: app.gigstack.pro/settings?tab=api
Errors: credential failures are answered by the authentication layer with a raw
{ "message": … } body, not the standardized envelope — 401 for a missing, malformed or
expired token, 403 for a revoked key or a plan without API access. See the Unauthorized
and AuthForbidden responses.