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

# Fetch SIP Captures by SIP Call-ID

> Search Vida SIP Captures by SIP Call-ID and export PCAP, JSON, or text transcript.



## OpenAPI

````yaml get /api/v2/sip/captures
openapi: 3.0.0
info:
  version: 2.0.0
  title: Vida API
  description: Vida API Documentation
servers:
  - url: https://api.vida.dev
    description: Vida Production
    variables:
      baseUrl:
        default: api.vida.dev
        description: Production API Root
security: []
tags:
  - name: Agents
  - name: Inbound Email
    description: Control which senders may create inbound email work for an Agent.
  - name: Features
    description: Inspect capabilities available within an account hierarchy.
  - name: Conversation Logs
    description: Query conversation activity and calculate account-level metrics.
  - name: Computer Agents
    description: Set up, configure, inspect, and manage Vida Computer Agents.
  - name: Computer Agent Sessions
    description: View and reset Computer Agent sessions.
  - name: Accounts
  - name: Agent Templates
    description: Create, manage, and apply reusable Agent configurations.
paths:
  /api/v2/sip/captures:
    get:
      tags:
        - SIP
      summary: Fetch SIP Captures by SIP Call-ID
      description: >-
        Search Vida SIP Captures by SIP Call-ID and export PCAP, JSON, or text
        transcript.
      parameters:
        - name: sipCallId
          in: query
          description: SIP Call-ID header value
          required: true
          example: abc123@pbx.example.com
          schema:
            type: string
        - name: from
          in: query
          description: Epoch millis start of search window
          required: false
          example: 1727395200000
          schema:
            type: number
        - name: to
          in: query
          description: Epoch millis end of search window
          required: false
          example: 1727481600000
          schema:
            type: number
        - name: format
          in: query
          description: text | pcap | json | transaction
          required: false
          example: text
          schema:
            type: string
      responses:
        '200':
          description: Successful response
        '400':
          description: Bad request
        '401':
          description: Unauthorized Request
        '404':
          description: No results found
        '500':
          description: Server error
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: query
      name: token
      description: Vida API Token

````