Get expiring connections
Return connections expiring within the specified time window, sorted by urgency. Connections are scoped to the authenticated user. Includes auto-refresh status to indicate whether user action is required.
Authorization
User API Key User API key (mgw_usr_live_* or mgw_usr_test_*)
In: header
Query Parameters
Get credentials expiring within this many hours (1-168)
241 <= value <= 168Cookie Parameters
Response Body
application/json
application/json
curl -X GET "https://loading/api/v1/connections/expiring"{
"items": [
{
"connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",
"server_id": "820efca4-4a15-4ab7-82fc-9e76f6d61325",
"server_name": "string",
"provider_name": "string",
"expires_at": "2019-08-24T14:15:22Z",
"expires_in_seconds": 0,
"expiration_status": "healthy",
"auto_refresh_enabled": false,
"requires_action": false
}
],
"total": 0,
"action_required": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Get detailed connection health
Return a detailed health summary with granular expiration tracking for the authenticated user. Connections are scoped to the current API key owner. Includes per-status counts and individual connection details.
List user connections
List OAuth and API-key connections for the authenticated user. Connections are scoped to the current API key owner. Use include_server=true for Gate22-style connected-accounts view.
