Export connection attempts as CSV
Export connection attempts as CSV: CustomDomain™ API reference in the analytics group. Covers request parameters, the request body, responses and error codes.
The rows GET /attempts would list for the same filters, newest first, as one CSV file. The range is at most 31 days (default: the last 31 days). A workspace may export six times an hour. A range with more than 100,000 rows, or a file over 20 MB, answers 413: narrow the range. A cell that starts with =, +, -, @, a tab or a carriage return is written with a leading apostrophe. 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
Only attempts at or after this time (RFC 3339). Defaults to 31 days before to.
date-timeOnly attempts before this time (RFC 3339). Defaults to now.
date-timeKeep only this result. result is the same filter.
Value in
- "connected"
- "needs_attention"
- "failed"
"csv"Value in
- "csv"
Keep only attempts on this provider.
Keep only attempts by this end user id.
length <= 256Keep only domains that start with this text.
Read Sandbox attempts (true) or live ones (false).
Response Body
text/csv
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/attempts:export""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" }}{ "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" }}