GET - List all recordings

List all recordings

GET /api/v1/recordings

Returns a paginated list of recordings associated with the current user's account.

Query Parameters

Headers

{
  "pagination": {
    "records": [
      {
        "id": 1,
        "source": "example.com",
        "user_id": 1,
        "created_at": "2022-03-30T12:34:56Z",
        "updated_at": "2022-03-30T12:34:56Z",
        "vendor": "ACME Corporation",
        "customer_email": "customer@example.com",
        "duration": 3600,
        "ip_address": "127.0.0.1",
        "platform": "Web",
        "uuid": "abc123",
        "live": true,
        "received": true,
        "sent": true,
        "user_email": "user@example.com",
        "user_name": "John Doe"
      },
      // more recordings...
    ],
    "next_page": 2,
    "prev_page": null,
    "last_page": 3,
    "page": 1,
    "items": 100,
    "pages": 3,
    "from": 1,
    "to": 100,
    "count": 245
  }
}

Example Request

cURL

curl -X GET \
  -H "Authorization: Bearer <access_token>" \
  "https://app.screendesk.io/api/v1/recordings?page=2"

JavaScript

fetch('https://app.screendesk.io/api/v1/recordings?page=2', {
  headers: {
    'Authorization': 'Bearer <access_token>',
    'Content-Type': 'application/json'
  }
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error))

Last updated