calls

Full-text search across BOTH outbound and incoming calls in one query. Matches against transcripts, finalSummary, title, phoneNumber/phoneNumberFrom, goal, and callerName (case-insensitive). Results carry a callType: 'outgoing' | 'incoming' discriminator plus matchedFields showing which columns hit. For outbound-only results use /calls/search/outgoing; for incoming-only use /incoming-calls/search. Soft-deleted calls are excluded.

get/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

Response

Search results including both outgoing and incoming calls

Example response

{
  "calls": {
    "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"
        }
      ]
    },
    "matchedFields": [
      "phone",
      "summary",
      "title",
      "goal"
    ],
    "contactId": "123e4567-e89b-12d3-a456-426614174000"
  }
}

Changes

    • breaking

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

    • info

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

    • breaking

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

    3 more changes in this revision