Call History and Get Call Details

Endpoint: Get Call History

Request

Method: GET URL: https://automatta.syncteams.co/api/call-history?page=1&limit=10 Headers:

  • accept: */*

  • x-api-key: {token}

Example Request

curl -X 'GET' \
  'https://automatta.syncteams.co/api/call-history?page=1&limit=10' \
  -H 'accept: */*' \
  -H 'x-api-key: {token}' \
  -d ''

Sample Response

{
  "success": true,
  "message": "Upcoming calls retrieved successfully",
  "data": {
    "calls": [
      {
        "_id": "67dfbb5958c5a38030e2ba18",
        "role": "software engineer",
        "agent_name": "mathew",
        "applicant": {
          "name": "Bamidele Qudus",
          "phoneNumber": "+2347031799388",
          "email": "johndoes@gmail.com",
          "interview_details": {
            "years_of_experience": "5",
            "tech_stack": [
              "JavaScript",
              "Node.js",
              "React"
            ]
          },
          "company": {
            "name": "CallStack",
            "description": "A leading software development company."
          }
        },
        "type": "HIRING"
      }
    ],
    "total": 11,
    "page": "1",
    "limit": "10",
    "totalPages": 2
  },
  "timestamp": "2025-03-26T15:23:14.984Z"
}

Get Single Calls with transcript Request

Method: GET URL: https://automatta.syncteams.co/api/call/{callId} Headers:

  • accept: */*

  • x-api-key: {token}

Example Request

curl -X 'GET' \
  'https://automatta.syncteams.co/api/call/{callID}' \
  -H 'accept: */*' \
  -H 'x-api-key: {token}'

Example Response

{
  "success": true,
  "message": "Call details retrieved successfully",
  "data": {
    "_id": "67dfbe4084d314dcf68275db",
    "role": "software engineer",
    "agent_name": "mathew",
    "userId": "67dedd5fdad0391773a44c9e",
    "status": "completed",
    "applicant": {
      "name": "Bamidele Qudus",
      "phoneNumber": "+2347064776399",
      "email": "johndoe@gmail.com",
      "interview_details": {
        "years_of_experience": "5",
        "tech_stack": [
          "JavaScript",
          "Node.js",
          "React"
        ]
      },
      "company": {
        "name": "CallStack",
        "description": "A leading software development company."
      }
    },
    "createdAt": "2025-03-23T07:54:40.779Z",
    "updatedAt": "2025-03-23T17:53:07.291Z",
    "__v": 1,
    "callId": "ffb4b8c0-8c68-4209-b9c1-ab3be41867f8",
    "concatenated_transcript": "assistant: Hi there, This is mathew calling from CallStack \n user: Hi, mate. Matthew. Hello, Matthew. I can't hear you. Hello? \n assistant: Hello, I apologize if the connection isn't clear. Can you hear me now? \n user: Hi, mate. Matthew. Hello, Matthew. I can't hear you. Hello? Yeah. I can \n assistant: Great, sorry about that. Let's get started with the interview. Can you start by telling me a little bit about your background and how you think your skills in JavaScript, Node.js, and React align with our company's needs? \n user: Yeah. I can hear you. <Block interruptions enabled. This message was ignored> \n user: Yeah. So my name is John Madurai. I have, like, ten years experience in writing Node. Js, JavaScript, and TypeScript. Right? I I'm very proficient in JavaScript ecosystem generally. I I contribute to open source. Right? I have, like, a lot of open source project that I contribute to in JavaScript and TypeScript. I am very proficient in Node. Js, and I feel that my skills are very, very necessary for call stack because I am a very, very good software engineer, and I have, like, ten years experience in writing Java \n assistant: Thank you, John, I appreciate you sharing that with me. However, I did notice that your resume mentioned five years of experience, but you just mentioned ten years. Could you clarify the discrepancy in your experience? \n user: Software engineer, and I have, like, ten years experience in writing JavaScript and Node JS. <Block interruptions enabled. This message was ignored> \n user: Yes. So that that would probably be a mistake. Maybe because I just used a I used a very old resume, but I'm just going to update that in a half years of the \n ",
    "duration": 2.05,
    "endtime": "2025-03-23T07:56:59.000Z",
    "recordingUrl": "https://xmedia-services.s3.amazonaws.com/recordings/ffb4b8c0-8c68-4209-b9c1-ab3be41867f8.mp3",
    "starttime": "+2347034776388",
    "summary": "The call was an interview between Matthew from CallStack and John Madurai, a software engineer applying for a position. John highlighted their 10 years of experience in JavaScript, Node.js, and TypeScript, and their proficiency in the JavaScript ecosystem, including contributions to open-source projects. However, a discrepancy was noted between John's claimed 10 years of experience and the 5 years listed on their resume, which John attributed to using an outdated resume and promised to update. The conversation was initially hindered by technical issues with the connection, but the interview proceeded once the audio issues were resolved.",
    "transcript": [
      {
        "id": 125252645,
        "user": "assistant",
        "text": "Hi there, This is mathew calling from CallStack",
        "created_at": "2025-03-23T07:54:59.914Z"
      },
      {
        "id": 125252718,
        "user": "user",
        "text": "Hi, mate. Matthew. Hello, Matthew. I can't hear you. Hello?",
        "created_at": "2025-03-23T07:55:21.653Z"
      },
      {
        "id": 125252727,
        "user": "assistant",
        "text": "Hello, I apologize if the connection isn't clear. Can you hear me now?",
        "created_at": "2025-03-23T07:55:24.844Z"
      },
      {
        "id": 125252755,
        "user": "user",
        "text": "Hi, mate. Matthew. Hello, Matthew. I can't hear you. Hello? Yeah. I can",
        "created_at": "2025-03-23T07:55:31.774Z"
      },
      {
        "id": 125252764,
        "user": "assistant",
        "text": "Great, sorry about that. Let's get started with the interview. Can you start by telling me a little bit about your background and how you think your skills in JavaScript, Node.js, and React align with our company's needs?",
        "created_at": "2025-03-23T07:55:34.026Z"
      },
      {
        "id": 125252783,
        "user": "user",
        "text": "Yeah. I can hear you. <Block interruptions enabled. This message was ignored>",
        "created_at": "2025-03-23T07:55:36.904Z"
      },
      {
        "id": 125252903,
        "user": "user",
        "text": "Yeah. So my name is John Madurai. I have, like, ten years experience in writing Node. Js, JavaScript, and TypeScript. Right? I I'm very proficient in JavaScript ecosystem generally. I I contribute to open source. Right? I have, like, a lot of open source project that I contribute to in JavaScript and TypeScript. I am very proficient in Node. Js, and I feel that my skills are very, very necessary for call stack because I am a very, very good software engineer, and I have, like, ten years experience in writing Java",
        "created_at": "2025-03-23T07:56:27.295Z"
      },
      {
        "id": 125252910,
        "user": "assistant",
        "text": "Thank you, John, I appreciate you sharing that with me. However, I did notice that your resume mentioned five years of experience, but you just mentioned ten years. Could you clarify the discrepancy in your experience?",
        "created_at": "2025-03-23T07:56:30.962Z"
      },
      {
        "id": 125252918,
        "user": "user",
        "text": "Software engineer, and I have, like, ten years experience in writing JavaScript and Node JS. <Block interruptions enabled. This message was ignored>",
        "created_at": "2025-03-23T07:56:36.511Z"
      },
      {
        "id": 125252944,
        "user": "user",
        "text": "Yes. So that that would probably be a mistake. Maybe because I just used a I used a very old resume, but I'm just going to update that in a half years of the",
        "created_at": "2025-03-23T07:56:59.767Z"
      }
    ],
    "type": "HIRING"
  },
  "timestamp": "2025-03-26T15:36:51.318Z"
}

Last updated