CustomDomain Docs
Analytics

The newest secure sign-in sessions

The newest secure sign-in sessions: CustomDomain™ API reference in the analytics group. Covers request parameters, the request body, responses and error codes.

GET
/analytics/secure-sign-in/sessions

The newest sessions in the window, one row each: provider, when it started, how it ended (done, done_by_hand, running, stopped), the furthest stage it reached, the plain reason it stopped, the last step logged before the end and the seconds from start to end. connection_id narrows to one domain's sessions, provider to one DNS provider. Pick a row's id for its timeline. API key; any member role.

AuthorizationBearer <token>

Long-lived tenant API key, cd_live_… (production) or cd_test_… (staging, development), stored hashed. Keys created before the switch to cd_ start with sk_live_… / sk_test_… and are still accepted. Scoped to the owning application's tenant.

In: header

Query Parameters

days?integer
Range1 <= value <= 180
Default30
app_id?string
connection_id?string
provider?string
limit?integer
Range1 <= value <= 100
Default25

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/analytics/secure-sign-in/sessions"
{  "sessions": [    {      "id": "string",      "provider": "string",      "connection_id": "string",      "started_at": "2019-08-24T14:15:22Z",      "outcome": "done",      "reached": "started",      "stop": "string",      "last_step": "string",      "total_seconds": 0,      "ended_at": "2019-08-24T14:15:22Z"    }  ]}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}