---
title: "Search calls"
method: GET
path: "/calls/search"
tags: ["calls"]
---

# Search calls

`GET /calls/search`

## Request

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

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.

## Query parameters

- `query` string, required
- `limit` number
- `offset` number

## Response `200`

Search results including both outgoing and incoming calls

- SearchCallsResponseDto
  - `calls` SearchCallResultDto, required
    - `id` string, required
    - `createdAt` string, date-time: When the call was created
    - `userId` string, required
    - `phoneNumber` string, required: Phone number to call
    - `source` 'LEGACY_UNKNOWN' | 'MANUAL_SCHEDULING' | 'CHAT' | 'POST_CALL_ACTION' | 'CONTACT_ACTION' | 'INTEGRATION' | 'CAMPAIGN' | 'USER_COPY' | 'SMART_RETRY' | 'RECURRING' | 'AGENT_TEST' | 'ADMIN_COPY', required: How the outbound call was created
    - `callFrom` string: Call from #
    - `goal` string, required: Call goal
    - `firstMessage` string, nullable: Opening line the receptionist says when the call connects
    - `goalStatus` 'UNKNOWN' | 'SUCCESS' | 'FAILED', required: Goal achievement status
    - `scheduledAt` string, date-time, required: Call scheduled at
    - `finishedAt` string, date-time, nullable: When the call ended: finished, failed or cancelled. Null while it is scheduled or live.
    - `title` string, required: Call title
    - `status` 'QUEUED' | 'IN_PROGRESS' | 'AWAITING_CONNECTION' | 'SUCCESS' | 'FAILED' | 'NOT_STARTED' | 'CANCELLED' | 'CALL_TRANSFERRED', required: Call status
    - `additionalContext` string: Additional context
    - `minutesUsed` number: Minutes used
    - `transactions` TransactionDto[]: Transactions related to the call
      - `minutes` number, required: Minutes used
      - `type` string, required: Transaction type
      - `createdAt` string, date-time, required: Transaction created at
      - `description` string: Transaction description
    - `voice` string: Voice used for the call
    - `retryAfterMinutes` number: Retry after minutes
    - `maxDurationMinutes` number: Max duration of the call in minutes
    - `doWeNeedToRetry` boolean: Do we need to retry the call
    - `recordingUrl` string: Recording URL
    - `userRating` boolean: User rating, where true is good and false is bad. null is no rating.
    - `reviewedAt` string, date-time: Reviewed at
    - `finalSummary` string: Final summary
    - `shortFinalSummary` string: Short final summary
    - `placeWhereToCall` string: Place where to call
    - `roleplayTranscript` RoleplayTranscriptDto[]: Roleplay transcript
      - `from` 'ai' | 'user' | 'team', required: "ai" the receptionist, "user" the caller, "team" a person from the business who answered an in-app transfer (show `speakerName`; clients that do not know "team" may show it as the business side).
      - `speakerName` string: Display name of a "team" speaker
      - `text` string, required
      - `metadata` RoleplayTranscriptMetadataDto
        - `tone` string, required: Tone
        - `emotion` string, required: Emotion
        - `language` string, required: Language
        - `sentiment` string, required: Sentiment
      - `timestamp` number, required
    - `agent` AgentDto: Agent
      - `id` string, required
      - `name` string, required: Agent name
      - `description` string: Agent description
      - `avatar` string: Agent avatar
      - `isPublic` boolean, required: Is agent public
      - `isActive` boolean, required: Is agent active
      - `instructions` string, required: Agent instructions
      - `incomingCallInstructions` string, required: Agent instructions for incoming calls
      - `maxIncomingCallDurationMinutes` number, required: Max duration of incoming call in minutes
      - `maxOutgoingCallDurationMinutes` number, required: Max duration of outgoing call in minutes
      - `gatheringInformationOnIncomingCall` boolean, required: Whether the agent allows gathering information on incoming call
      - `createdAt` string, date-time, required: Agent created at
      - `updatedAt` string, date-time, required: Agent updated at
      - `tools` AgentToolDto[]: Agent tools
        - `agentId` string, required: Agent id
        - `toolId` string, required: Tool id
        - `createdAt` string, date-time, required: Tool name
        - `tool` ToolDto, required: Tool
          - `id` string, required: Unique identifier of the tool
          - `name` string, required: Name of the tool/function
          - `description` string, required: Description of what the tool does
          - `instruction` string, required: Instructions for GPT on how to use this tool
          - `toolType` 'HTTP' | 'MCP' | 'CODE', required: Type of the tool
          - `url` string: Webhook URL to call (HTTP tools only)
          - `method` 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE': HTTP method to use (HTTP tools only)
          - `waitForResponse` boolean, required: HTTP tools only: false means the request is sent in the background and the agent does not wait for the reply
          - `mcpServerUrl` string: MCP server URL (MCP tools only)
          - `mcpServerName` string: Human-readable name for the MCP server (MCP tools only)
          - `mcpToolName` string: Name of the specific tool/function on the MCP server (MCP tools only)
          - `codeLanguage` 'PYTHON' | 'JAVASCRIPT' | 'TYPESCRIPT': Code language (CODE tools only)
          - `inputSchema` SchemaFieldDto, required: Input schema for validation - root schema object
            - `name` string, required
            - `type` 'string' | 'number' | 'boolean' | 'array' | 'object' | 'enum' | 'union' | 'date' | 'file' | 'calculated', required
            - `description` string
            - `children` SchemaFieldDto[]
            - `enumValues` string[]
            - `validations` SchemaFieldValidationsDto
              - …
            - `label` string
            - `calculatedField` CalculatedFieldDto
              - …
          - `isActive` boolean, required: Whether the tool is active
          - `createdAt` string, date-time, required: When the tool was created
          - `updatedAt` string, date-time, required: When the tool was last updated
      - `accessToKnowledge` boolean: Is agent allowed to access knowledge
      - `knowledgeAccessMode` 'NONE' | 'ALL' | 'TAGS_ONLY': Knowledge access mode for the agent
      - `knowledgeAccessTags` string[]: Tags that the agent has access to when knowledge access is tag-limited
      - `allowFollowUps` boolean: Is agent allowed to schedule follow-ups
      - `followUpInstructions` string: Custom instructions for smart follow-up messages
      - `includePrivateData` boolean: Whether the user's profile info (owner name, phone, address, DOB, company) is included in the agent prompt
      - `businessProfileId` string, nullable: Business profile this receptionist represents; null = no business profile
      - `voice` string: Agent voice
      - `firstMessage` string: First message to be sent to the agent
      - `allowOutboundGreetingInterruptions` boolean: Whether recipients can interrupt the initial greeting on outbound calls
      - `enableVoiceExpressions` boolean: Whether the generated voice prompt includes provider-specific expression guidance
      - `closingPhrase` string: Closing phrase the agent says before ending an inbound call
      - `delayAcceptSeconds` number: Seconds to wait before the voice agent joins an inbound call.
      - `voiceRecognition` string: Voice recognition mode: EN for English-only (highest accuracy), MULTI for multilingual support
      - `sttKeyterms` string[]: Names and special words the speech recognizer should expect on calls
      - `temperature` number: Temperature for the agent
      - `dataCollections` DataCollectionResponseDto[]: Data collections for the agent
        - `dataIdentifier` string, required
        - `description` string, required
        - `dataType` 'STRING' | 'NUMBER' | 'BOOLEAN' | 'INTEGER' | 'DATE', required
        - `id` string, required
        - `createdAt` string, date-time, required
        - `updatedAt` string, date-time, required
        - `agentId` string, required
        - `results` DataCollectionResultDto[]
          - `id` string, required
          - `dataCollectionId` string, required
          - `callId` string, required
          - `createdAt` string, date-time, required
          - `updatedAt` string, date-time, required
          - `dataValue` object, required
      - `evaluations` EvaluationResponseDto[]: Evaluations for the agent
        - `name` string, required
        - `prompt` string, required
        - `id` string, required
        - `createdAt` string, date-time, required
        - `updatedAt` string, date-time, required
        - `agentId` string, required
        - `results` EvaluationResultDto[]
          - `id` string, required
          - `callId` string, required
          - `evaluationId` string, required
          - `createdAt` string, date-time, required
          - `updatedAt` string, date-time, required
          - `type` 'SUCCESS' | 'FAILURE' | 'UNKNOWN', required
          - `rationale` string, required
      - `welcomingVoiceMailMessageForContacts` string: Welcoming voice mail message for contacts
      - `welcomingVoiceMailMessageForOthers` string: Welcoming voice mail message for others
      - `isVoiceMailAgent` boolean: Is agent a voice mail agent
      - `voiceSpeed` number: Voice pace from slow to fast. 0.5 is normal/provider default. Not all voice providers support speed control.
      - `incomingCallTypingSound` boolean: Typing sound for the agent
      - `incomingCallBackgroundSound` boolean: Background sound for the agent
      - `outgoingCallBackgroundSound` boolean: Background sound for the agent
      - `outgoingCallTypingSound` boolean: Typing sound for the agent
      - `allowIncomingSms` boolean: Whether the agent allows incoming SMS messages
      - `incomingSmsInstructions` string: Instructions for the agent on incoming SMS messages
      - `autoRespondToSms` boolean: Whether the agent automatically responds to SMS messages
      - `ownerTextsToChat` boolean: Texts from a confirmed phone of the account owner or a team member go to that person's in-app chat instead of the SMS receptionist; the chat's answer is texted back
      - `smsResponseDelay` number: Delay in seconds before responding to SMS messages
      - `postCallSmsMessage` string: Post-call SMS message to send after incoming calls complete
      - `allowRealtimeSms` boolean: Whether the agent can send SMS messages during calls via the send_sms tool
      - `phoneNumbers` NumberItemDto[]: Phone numbers for the agent
        - `id` string, required: Phone number ID
        - `createdAt` string, date-time, required: Created at
        - `updatedAt` string, date-time, required: Updated at
        - `phoneNumber` string, required: Phone number
        - `country` string, required: Two letter country code for supported countries
        - `isActive` boolean, required: Active status
        - `agent` NumberAgentDto: Associated agent details
          - `id` string, required: Agent ID
          - `name` string, required: Agent name
        - `agentId` string, required: Agent ID
        - `direction` 'INCOMING' | 'OUTGOING' | 'BIDIRECTIONAL': Direction of the phone number
        - `isSharedOutbound` boolean: Whether the number is shared for outbound calls
      - `emailAddress` AgentEmailAddressDto, nullable: Active email receptionist address for the agent, if any
        - `address` string, required: Full agent email address (slug@domain)
        - `status` 'ACTIVE' | 'DISABLED', required: Routing status for the email address
      - `recordCalls` boolean: Whether calls produce audio recordings. Text transcripts remain available when disabled.
      - `requireDataConsent` boolean: Whether the agent requires data consent before starting calls
      - `dataConsentText` string: Custom text/instructions for what consent is being requested for
      - `enablePostCallActions` boolean: Whether to enable post-call outbound actions (scheduling calls after incoming calls)
      - `postCallActionRules` PostCallActionRuleDto[]: Structured Lead Alert rules in execution order
        - `id` string, required: Existing rule ID when editing
        - `channel` 'PHONE_CALL' | 'SMS', required
        - `condition` string, required: When this alert should run
        - `recipientName` string: Human-readable recipient name
        - `phoneNumber` string, required: Recipient phone number
        - `delaySeconds` number, required
        - `briefingInstructions` string: Additional facts or questions to include in the alert
        - `sortOrder` number, required
      - `strictSpamFilter` boolean: Strictly reject incoming calls detected as spam before connecting to the agent
      - `skipAiForSyncedContacts` boolean: Skip AI: every contact synced from the owner's phone goes to the Skip AI voicemail instead of the receptionist. Contacts saved after calls, on the web, or by import are not included.
      - `skipAiRingFirst` boolean: Skip AI "Ring me in the app": a Skip AI caller rings the app of the person who turned it on, on skipAiRingDeviceIds, before the voicemail
      - `skipAiRingDeviceIds` string[]: Devices of the ring person that ring
      - `skipAiRingUserId` string, nullable: Skip AI "Ring me in the app": the person (AuthUser id) whose app rings; null while it was never turned on
      - `valuableCallRule` string, nullable: Custom rule for detecting valuable incoming calls after each call.
      - `overrideCallerId` string: UUID of a verified caller ID to use for outbound calls. Null to clear.
    - `voicemails` VoiceMailMessagesDto[]: Voice mail messages
      - `transcription` string, required
      - `audioUrl` string, required
      - `duration` number, required
      - `createdAt` string, date-time, required
    - `isCallTransferred` boolean: Whether the call is transferred
    - `dataCollections` DataCollectionResultDto[]: Data collections
      - `id` string, required
      - `dataCollectionId` string, required
      - `callId` string, required
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
      - `dataValue` object, required
    - `evaluations` EvaluationResultDto[]: Evaluations
      - `id` string, required
      - `callId` string, required
      - `evaluationId` string, required
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
      - `type` 'SUCCESS' | 'FAILURE' | 'UNKNOWN', required
      - `rationale` string, required
    - `analysis` CallAnalysisDto: Analysis
      - `sentiment` 'positive' | 'negative' | 'neutral', required: Sentiment
      - `sentimentScore` number, required: Sentiment score
      - `detectedLanguage` string, required: Detected language
      - `detectedLanguageConfidence` number, required: Detected language confidence
    - `followUps` CallFollowUpDto[]: Follow-ups
      - `id` string, required: Follow-up ID
      - `type` 'SMS' | 'EMAIL' | 'CALL', required: Follow-up type
      - `content` string, required: Follow-up content
      - `recipientEmail` string: Recipient email
      - `recipientPhone` string: Recipient phone
      - `status` 'PENDING' | 'AWAITING_CLARIFICATION' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'CANCELLED' | 'SCHEDULED', required: Follow-up status
      - `createdAt` string, date-time, required: Follow-up created at
      - `updatedAt` string, date-time, required: Follow-up updated at
      - `triggeredByCallId` string: Outbound call that triggered this follow-up, when different from the parent call
    - `taskResults` TaskResultDto[]: Per-call results of the agent goals (Call Handling): what it asked/did and the outcome
      - `id` string, required: Task result ID
      - `slug` string, required: Task slug (stable identifier)
      - `title` string, nullable: Human-readable task title (from definition, may be null if deleted)
      - `groupName` string, nullable: Group the task belongs to (e.g. Collect Information)
      - `status` 'completed' | 'unable' | 'not_attempted', required: Outcome of the task on this call
      - `reason` string, nullable: Agent's explanation or the collected value
      - `createdAt` string, date-time, required: When the result was recorded
    - `voiceSpeed` number: Voice speed
    - `callTypingSound` boolean: Typing sound
    - `callBackgroundSound` boolean: Background sound
    - `recommendedNextAction` string: Recommended next action (AI generated)
    - `testCall` boolean: Test call
    - `isFavorite` boolean: Is this call favorited by the user
    - `callInterceptedByUser` boolean: Whether the call was intercepted by the user
    - `shareHash` string: Share hash for public sharing
    - `matchedFields` string[]: Fields that matched the search query (only present in search results)
    - `notes` string: User manual notes about this call (max 400 chars)
    - `contactId` string: Linked contact ID
    - `forwardingInfo` CallForwardingInfoDto: Parsed called-party forwarding route when SIP evidence is available
      - `type` 'direct' | 'forwarded', required
      - `chain` string[], required
    - `callType` 'outgoing' | 'incoming', required: Call type (outgoing or incoming)

## Other responses

- `400`: Invalid search query

## Changes

- **2026-11-12** `f21293ed4228`: 1 breaking, 1 info
  - the `calls/agent/allOf[#/components/schemas/AgentDto]/emailAddress` response's property type changed from no type to `object` for status `200`
  - the response property `calls/agent/allOf[#/components/schemas/AgentDto]/postCallActionRules/items/id` became required for the status `200`
- **2026-11-12** `d250cd4f77d0`: 2 breaking, 2 info
  - the response property `calls/agent/allOf[#/components/schemas/AgentDto]/postCallActionRules/items/id` became optional for the status `200`
  - the `calls/agent/allOf[#/components/schemas/AgentDto]/emailAddress` response's property type changed from `object` to no type for status `200`
  - added the optional property `calls/finishedAt` to the response with the `200` status
  - added the optional property `calls/firstMessage` to the response with the `200` status
- **2026-11-11** `dfd3c5404b7d`: 1 breaking, 1 info
  - the `calls/agent/allOf[#/components/schemas/AgentDto]/emailAddress` response's property type changed from no type to `object` for status `200`
  - the response property `calls/agent/allOf[#/components/schemas/AgentDto]/postCallActionRules/items/id` became required for the status `200`
- **2026-11-11** `4058bf06780e`: 1 info
  - added the optional property `calls/agent/allOf[#/components/schemas/AgentDto]/ownerTextsToChat` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/skipcalls/apis/skipcalls-public-api/changes/calls/search/get.md)

---

[API](https://skmtc.dev/skipcalls/apis/skipcalls-public-api.md) - [All operations](https://skmtc.dev/skipcalls/apis/skipcalls-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/skipcalls/apis/skipcalls-public-api/revisions/c893bb6c0091?raw)
