incoming-calls

Search incoming calls only

Changed on

Full-text search scoped to inbound calls — matches caller name, phone number, transcript, summary, and title case-insensitively. Faster than /calls/search which also scans outbound calls. Returns matchedFields per result showing which columns hit the query. Soft-deleted calls are excluded.

get/incoming-calls/search

Request

  • Base URL
    https://be.skipcalls.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

querystring required
Example:appointment

Search query string

limitnumber

Number of records to return

offsetnumber

Number of records to skip

agentIdstring

Filter by receptionist ID

Response

Search results for incoming calls only

totalnumber required

Total number of incoming calls

Example response

{
  "calls": [
    {
      "inAppTransfer": {
        "deviceName": "Galaxy A17"
      },
      "inAppTransferReply": {
        "presetId": "callback_10m",
        "text": "I'll call you back in 10 minutes"
      },
      "agent": {
        "tools": [
          {
            "tool": {
              "toolType": "HTTP",
              "inputSchema": {
                "name": "function_params",
                "type": "object",
                "description": "Function input parameters",
                "children": [
                  {
                    "name": "query",
                    "type": "string",
                    "description": "Search query",
                    "validations": {
                      "required": true,
                      "min": 1,
                      "max": 100
                    },
                    "label": "Search Query"
                  },
                  {
                    "name": "category",
                    "type": "enum",
                    "description": "Category filter",
                    "enumValues": [
                      "news",
                      "weather",
                      "sports"
                    ],
                    "validations": {
                      "required": false
                    }
                  }
                ]
              }
            }
          }
        ],
        "phoneNumbers": [
          {
            "createdAt": "2021-01-01T00:00:00Z",
            "updatedAt": "2021-01-01T00:00:00Z",
            "phoneNumber": "+1234567890",
            "country": "US",
            "agentId": "123",
            "direction": "INCOMING"
          }
        ]
      },
      "phoneNumberTo": {
        "createdAt": "2021-01-01T00:00:00Z",
        "updatedAt": "2021-01-01T00:00:00Z",
        "phoneNumber": "+1234567890",
        "country": "US",
        "agentId": "123",
        "direction": "INCOMING"
      },
      "matchedFields": [
        "phone",
        "summary",
        "title",
        "caller"
      ],
      "contactId": "123e4567-e89b-12d3-a456-426614174000"
    }
  ]
}

Changes

    • info

      added the optional property calls/items/spamComplaintStatus to the response with the status

    • breaking

      the calls/items/agent/allOf[#/components/schemas/AgentDto]/emailAddress response's property type changed from no type to object for status

    • info

      the response property calls/items/agent/allOf[#/components/schemas/AgentDto]/postCallActionRules/items/id became required for the status