> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pickupbell.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List calls



## OpenAPI

````yaml GET /locations/{locationId}/calls
openapi: 3.1.0
info:
  title: PickupBell API
  version: 1.0.0
  description: >
    Public REST surface for PickupBell — the AI receptionist for HVAC, plumbing,
    and home-services contractors.


    All requests authenticate via `Authorization: Bearer <uuid>`. Every response
    is JSON with shape `{ "data": … }` (or `{ "error": { "code", "message",
    "details" } }` on failure).


    Only endpoints an API token can successfully call are documented here.
    UI-only operations (create location, invite member, mint / revoke API key,
    billing checkout / portal) require a user session and are not part of the
    public API.
  contact:
    email: support@pickupbell.com
servers:
  - url: https://api.pickupbell.com
    description: >-
      Production (vanity domain — Vercel rewrite proxies to
      app.pickupbell.com/api/v1)
  - url: https://app.pickupbell.com/api/v1
    description: App-domain alias (works without the rewrite)
  - url: http://localhost:3000/api/v1
    description: Local development
security:
  - bearerAuth: []
tags:
  - name: Me
  - name: Locations
  - name: Members
  - name: API keys
  - name: Agent
  - name: Business hours
  - name: Call forwarding
  - name: FAQs
  - name: Pricebook
  - name: Calls
  - name: Leads
  - name: Bookings
  - name: Insights
  - name: Notifications
  - name: Integrations
  - name: Webhook endpoints
paths:
  /locations/{locationId}/calls:
    parameters:
      - $ref: '#/components/parameters/WorkspaceId'
    get:
      tags:
        - Calls
      summary: List recent calls
      operationId: listCalls
      parameters:
        - name: outcome
          in: query
          schema:
            type: string
            enum:
              - booked
              - transferred
              - lead
              - voicemail
              - spam
              - dropped
              - other
        - name: emergency
          in: query
          schema:
            type: boolean
        - name: since
          in: query
          schema:
            type: string
            format: date-time
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 500
            default: 100
      responses:
        '200':
          description: Calls
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CallSummary'
components:
  parameters:
    WorkspaceId:
      name: locationId
      in: path
      required: true
      schema:
        type: string
      description: Location UUID or slug (e.g. `premier-hvac`).
  schemas:
    CallSummary:
      type: object
      description: >-
        Light-weight call row returned by `GET /calls`. Transcript, recording,
        and cost/latency are omitted here — fetch `GET /calls/{id}` for those.
      properties:
        id:
          type: string
          format: uuid
        location_id:
          type: string
          format: uuid
        customer_id:
          type: string
          format: uuid
          nullable: true
        direction:
          type: string
          enum:
            - inbound
            - outbound
        caller_phone:
          type: string
          nullable: true
          description: Masked as ***-***-1234
        caller_name:
          type: string
          nullable: true
        caller_address:
          type: string
          nullable: true
        outcome:
          type: string
          enum:
            - booked
            - transferred
            - lead
            - spam
            - dropped
            - other
        urgency_level:
          type: integer
          minimum: 0
          maximum: 5
        is_emergency:
          type: boolean
        is_returning_customer:
          type: boolean
        started_at:
          type: string
          format: date-time
          nullable: true
        ended_at:
          type: string
          format: date-time
          nullable: true
        duration_sec:
          type: integer
          nullable: true
        service_type:
          type: string
          nullable: true
        issue_summary:
          type: string
          nullable: true
        detected_intent:
          type: string
          nullable: true
        estimated_value:
          type: number
          nullable: true
        appointment_date:
          type: string
          format: date
          nullable: true
        appointment_time:
          type: string
          nullable: true
        disconnection_reason:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: uuid
      description: Location-scoped API token from **Settings → API & MCP**.

````