List calls

List all calls and meetings within the API key's access scope. Keys with whole-company access list every call; scoped keys list only the calls they can access.

get/calls

Request

  • Base URL: https://public-api.leexi.ai/v1
  • URL: https://public-api.leexi.ai/v1/calls
  • Auth: API key in header Authorization

Query parameters

pageinteger
itemsinteger

min: 1, max: 100

order'created_at desc' | 'created_at asc' | 'performed_at desc' | 'performed_at asc' | 'updated_at desc' | 'updated_at asc'
date_filter'created_at' | 'performed_at' | 'updated_at'

from/to filter date

fromstring

YYYY-MM-DDTHH:MM:SS.000Z, this filters on the call creation date in Leexi (created_at)

tostring

YYYY-MM-DDTHH:MM:SS.000Z, this filters on the call creation date in Leexi (created_at)

sourcestring

Integration slug

source_idstring[]

source_id[]=abc&source_id[]=xyz <Call id within Integration>

owner_uuidstring[]

owner_uuid[]=aaa-bbb&owner_uuid[]=ccc-ddd

participating_user_uuidstring[]

participating_user_uuid[]=aaa-bbb&owner_uuid[]=aaa-bbb&owner_uuid[]=ccc-ddd[]=ccc-ddd

conversation_type_uuidstring

Filter by conversation type uuid

customer_phone_numberstring[]

customer_phone_number[]=+32474000000&customer_phone_number[]=+33476824768

customer_email_addressstring[]

customer_email_address[]=admin@leexi.ai&customer_email_address[]=support@leexi.ai

with_simple_transcriptboolean

Get transcript as a string

Response

200

Example response

{
  "data": [
    {
      "audio_archived_at": "2024-06-14T11:00:33.534Z",
      "chapters": [
        {
          "start_time": 10,
          "text": "Content for chapter 1",
          "title": "Chapter 1: Intro",
          "uuid": "b1c2d3e4-f5a6-7b8c-9d0e-f1a2b3c4d5e6"
        }
      ],
      "conversation_type": {
        "active": true,
        "slug": "sales_visio_onboarding",
        "uuid": "79af83f0-467c-4f65-8320-401c74978dff"
      },
      "created_at": "2024-06-13T10:52:26.579Z",
      "custom_fields": {},
      "customer_phone_numbers": [
        "+1..."
      ],
      "customers": [
        {
          "email": "wei.kemmer@example.com",
          "name": "Wei Kemmer",
          "phone_number": "+1...",
          "uuid": "f1a2b3c4-d5e6-7f8a-9b0c-d1e2f3a4b5c6"
        }
      ],
      "description": "Morbi imperdiet dignissim interdum. Donec vestibulum lacus ipsum.",
      "direction": "outbound",
      "duration": 123.716,
      "leexi_url": "...",
      "locale": "en-US",
      "owner": {
        "email": "philippe@leexi.ai",
        "name": "Philippe",
        "uuid": "a4ce7181-07f3-451c-8593-c067209efe4c"
      },
      "participating_users": [
        {
          "email": "philippe@leexi.ai",
          "name": "Philippe",
          "uuid": "a4ce7181-07f3-451c-8593-c067209efe4c"
        }
      ],
      "performed_at": "2024-06-13T10:49:47.000Z",
      "prompts": [
        {
          "category": "summary",
          "completions": [
            "Modi sint ea aliquam."
          ],
          "title": "summary",
          "uuid": "5e7f2976-3da1-4bd9-ac61-1109f175a28f"
        }
      ],
      "recording_url": "...",
      "simple_transcript": "Bob (00:00 - 00:10)\nHello, how are you?\nAlice (00:10 - 00:20)\nI'm fine, thank you.",
      "source": "aircall",
      "source_id": "4231481288",
      "speakers": [
        {
          "duration": 100.3,
          "email_address": "philippe@leexi.ai",
          "is_user": true,
          "longest_monologue": 10.2,
          "name": "Philippe",
          "uuid": "22cd0302-e459-468d-9e03-54532d996552"
        }
      ],
      "summary": "Modi sint ea aliquam.",
      "tasks": [
        {
          "active": true,
          "created_at": "2024-06-13T10:49:47.000Z",
          "description": "Description of Task 1",
          "last_editor": {
            "active": true,
            "email": "user@user.com",
            "name": "user",
            "uuid": "user1_uuid"
          },
          "speaker": {
            "duration": 10,
            "email_address": "user@user.com",
            "is_user": true,
            "longest_monologue": 5,
            "name": "user",
            "phone_number": "+1..",
            "uuid": "6f9edfb7-dc61-4f27-9c99-3e42f4bb1de0"
          },
          "subject": "Task 1",
          "updated_at": "2024-06-13T10:49:47.000Z",
          "uuid": "6f9edfb7-dc61-4f27-9c99-3e42f4bb1de0"
        }
      ],
      "title": "Aliquam pretium ut arcu id",
      "transcript_url": "...",
      "updated_at": "2024-06-13T11:00:33.534Z",
      "uuid": "422dda3c-6e1b-4868-b96e-acd12fdf9139",
      "video_archived_at": "2024-06-14T11:00:33.534Z",
      "visible": true
    }
  ],
  "pagination": {
    "count": 42,
    "items": 10,
    "page": 1,
    "pages": 5
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.