Your sessions
Newest first. Filter by partner_customer_id; page with created_before.
AuthorizationBearer <token>
An access token from POST /oauth/token. Valid for one hour. Preferred, because a leaked request log then exposes an hour rather than a permanent credential.
In: header
Query Parameters
partner_customer_id?string
created_before?string
Format
date-timelimit?integer
Range
1 <= value <= 100Default
25Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
Shell
curl -X GET "https://sandbox.capvant.com/sessions"JSON
{ "data": [ { "id": "string", "object": "session", "status": "open", "environment": "live", "market": "UK", "partner_customer_id": "string", "launch_url": "string", "expires_at": "2019-08-24T14:15:22Z", "prefilled": [ "string" ], "asks_for": [ "string" ], "business": { "legal_name": "string", "company_number": "string", "ein": "string" }, "request": { "id": "string", "submitted_at": "2019-08-24T14:15:22Z" }, "return_url": "string", "created_at": "2019-08-24T14:15:22Z", "started_at": "2019-08-24T14:15:22Z", "submitted_at": "2019-08-24T14:15:22Z", "cancelled_at": "2019-08-24T14:15:22Z" } ], "has_more": true}