GET
/
v1
/
calls
import BeyondPresence from '@bey-dev/sdk';

const client = new BeyondPresence({
  apiKey: process.env['BEY_API_KEY'], // This is the default and can be omitted
});

const calls = await client.calls.list();

console.log(calls);
[
  {
    "id": "<string>",
    "agent_id": "<string>",
    "started_at": "<string>",
    "ended_at": "<string>"
  }
]

Authorizations

x-api-key
string
header
required

Your Beyond Presence API Key.

Response

200 - application/json

Successful Response

The response is of type DeveloperCallModel · object[].