CustomDomain Docs
API referenceAPI referenceAttempts

Get one connection attempt

Get one connection attempt: CustomDomain™ API reference in the attempts group. Covers request parameters, the request body, responses and error codes.

GET
/attempts/{id}

The attempt with its steps in order and the webhooks sent for its domain while it ran. 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

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/attempts/string"
{  "attempt": {    "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"  },  "steps": [    {      "at": "2019-08-24T14:15:22Z",      "step": "string",      "way": "string",      "outcome": "string",      "code": "string"    }  ],  "webhooks": [    {      "at": "2019-08-24T14:15:22Z",      "event": "string",      "delivered": true,      "status_code": 0,      "attempts": 0    }  ]}
{  "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"  }}