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

# Get outbound call status

Retrieve the current status of an outbound call, using the `call_sid` returned when the call was placed. Poll this endpoint until the status reaches a terminal value — `success` or `failure`.

## Call statuses

| Status    | Description                                           |
| --------- | ----------------------------------------------------- |
| `queued`  | The call has been accepted and is queued for dialing. |
| `calling` | PolyAI is dialing the destination number.             |
| `success` | The call connected and completed successfully.        |
| `failure` | The call did not connect or ended in an error.        |

The optional `reason` field gives extra detail for the status.

<Note>
  Call statuses are retained for roughly **2 hours** after the call is placed. After that the `call_sid` is no longer queryable and the endpoint returns `404`.
</Note>


## OpenAPI

````yaml GET /v1/telephony/sip-trunks/{trunkId}/outbound-call/{callSid}
openapi: 3.0.3
info:
  title: PolyAI SIP Trunking API
  version: 1.0.0
  description: Management API for PolyAI SIP Trunks and their Extensions.
servers:
  - url: https://api.us.poly.ai
    description: US region
  - url: https://api.eu.poly.ai
    description: EU region
  - url: https://api.uk.poly.ai
    description: UK region
security:
  - polyApiKey: []
tags:
  - name: SIP Trunks
    description: >-
      A SIP Trunk is a virtual connection between your telephony platform and
      PolyAI. It authenticates callers, accepts inbound calls, and holds the
      list of Extensions that map a dialed number to a PolyAI agent.
  - name: SIP Trunk Extensions
    description: >-
      An Extension binds a dialed number on a trunk to a PolyAI agent. When a
      call reaches a trunk, the dialed user part is matched against that trunk's
      extensions to pick the agent.
  - name: Outbound Calls
    description: Place and query outbound calls that route over a SIP Trunk.
paths:
  /v1/telephony/sip-trunks/{trunkId}/outbound-call/{callSid}:
    parameters:
      - $ref: '#/components/parameters/trunkId'
      - $ref: '#/components/parameters/callSid'
    get:
      tags:
        - Outbound Calls
      summary: Get outbound call status
      operationId: getOutboundCallStatus
      responses:
        '200':
          description: The call's current status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallStatusResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    trunkId:
      name: trunkId
      in: path
      required: true
      description: The SIP Trunk's friendly ID (e.g. tr-...).
      schema:
        type: string
    callSid:
      name: callSid
      in: path
      required: true
      description: The identifier returned when the call was placed.
      schema:
        type: string
  schemas:
    CallStatusResponse:
      type: object
      description: The current status of an outbound call.
      properties:
        status:
          type: string
          description: The call's current status.
          enum:
            - queued
            - calling
            - success
            - failure
          example: failure
        reason:
          type: string
          description: >-
            Optional human-readable detail for the status, typically populated
            on failure to explain why the call did not connect. This is a
            free-form message, not a fixed set of codes.
          example: 'call origination request: timeout limit exceeded'
      required:
        - status
    Error:
      type: object
      description: Error response body.
      properties:
        success:
          type: boolean
        error:
          type: string
        message:
          type: string
      required:
        - success
        - error
        - message
  responses:
    Unauthorized:
      description: Missing or invalid credential.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Caller is not a telephony admin on the account.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    polyApiKey:
      type: apiKey
      in: header
      name: X-API-Key

````