List connection attempts
List connection attempts: reference page for this CustomDomain™ API operation in the attempts group. Covers parameters, request body, responses and error codes.
One row for each try by one of your users to connect a domain, newest first. Each row carries your own id for the user (end_user_ref), the provider, the way used, the result and, when it did not connect, the cause: what happened in plain words and who can fix it (user, provider, us, or you). Results: connected, needs_attention (still open, waiting on the user, or left unfinished) and failed.
Follows the mode of the application named by app_id, or of the key's application: pass sandbox to read the other mode. Page with next_cursor until it is absent. API key; any member role.
Authorization
apiKey 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
Value in
- "connected"
- "needs_attention"
- "failed"
Keep only attempts on this provider.
Keep only attempts by this end user id.
length <= 256Keep only domains that start with this text.
Only attempts at or after this time (RFC 3339).
date-timeOnly attempts before this time (RFC 3339).
date-timeRead Sandbox attempts (true) or live ones (false).
Rows per page. Defaults to 50; values above 200 are clamped to 200.
1 <= value <= 20050Opaque cursor taken verbatim from a previous response's next_cursor. Omit for the first page.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/attempts"{ "attempts": [ { "id": "string", "at": "2019-08-24T14:15:22Z", "domain": "string", "end_user_ref": "string", "provider": "string", "way": "string", "result": "connected", "time_to_live_ms": 0, "cause": { "code": "string", "label": "string", "party": "user", "category": "string" }, "connection_id": "string" } ], "count": 0, "next_cursor": "string"}{ "code": "account_not_verifiable", "title": "string", "details": "string", "request_id": "string", "challenge": { "value": "string", "bits": 1, "expires_at": "2019-08-24T14:15:22Z" }}{ "code": "account_not_verifiable", "title": "string", "details": "string", "request_id": "string", "challenge": { "value": "string", "bits": 1, "expires_at": "2019-08-24T14:15:22Z" }}{ "code": "account_not_verifiable", "title": "string", "details": "string", "request_id": "string", "challenge": { "value": "string", "bits": 1, "expires_at": "2019-08-24T14:15:22Z" }}{ "code": "account_not_verifiable", "title": "string", "details": "string", "request_id": "string", "challenge": { "value": "string", "bits": 1, "expires_at": "2019-08-24T14:15:22Z" }}