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

# Get Location

> Retrieve a single location by ID, including Twilio configuration.



## OpenAPI

````yaml https://api.selcor.ai/v1/openapi.json get /v1/workspaces/{workspaceId}/locations/{locationId}
openapi: 3.1.0
info:
  title: Selcor Partner API
  version: 0.1.0
  description: API for managing workspaces, locations, voice agents, and relay executions.
servers:
  - url: https://api.selcor.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/workspaces/{workspaceId}/locations/{locationId}:
    get:
      tags:
        - Locations
      summary: Get Location
      description: Retrieve a single location by ID, including Twilio configuration.
      parameters:
        - schema:
            type: string
            example: clxyz123
          required: true
          name: locationId
          in: path
      responses:
        '200':
          description: Location details
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/LocationDetail'
                  request_id:
                    type: string
                required:
                  - data
                  - request_id
      security:
        - bearerAuth: []
components:
  schemas:
    LocationDetail:
      allOf:
        - $ref: '#/components/schemas/Location'
        - type: object
          properties:
            twilio_config:
              $ref: '#/components/schemas/LocationTwilioConfig'
          required:
            - twilio_config
    Location:
      type: object
      properties:
        id:
          type: string
        workspace_id:
          type: string
        name:
          type: string
        timezone:
          type: string
        phone_number:
          type: string
          nullable: true
        address:
          type: string
          nullable: true
        website_url:
          type: string
          nullable: true
        activated:
          type: boolean
        booking_enabled:
          type: boolean
        provider_selection_mode:
          type: string
        agent_setup_status:
          type: string
          nullable: true
        voice_agent_id:
          type: string
          nullable: true
        created_at:
          type: string
        updated_at:
          type: string
      required:
        - id
        - workspace_id
        - name
        - timezone
        - phone_number
        - address
        - website_url
        - activated
        - booking_enabled
        - provider_selection_mode
        - agent_setup_status
        - voice_agent_id
        - created_at
        - updated_at
    LocationTwilioConfig:
      type: object
      nullable: true
      properties:
        voice_number:
          type: string
          nullable: true
        sms_number:
          type: string
          nullable: true
        voice_routing_mode:
          type: string
        forward_number:
          type: string
          nullable: true
        forward_timeout:
          type: number
      required:
        - voice_number
        - sms_number
        - voice_routing_mode
        - forward_number
        - forward_timeout
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'API key in format: sk_live_...'

````