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

# Get Device

> Get a single WhatsApp device by ID.

Requires ``admin:read`` or higher because device inventory exposes
operational metadata for the workspace.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/devices/{device_id}
openapi: 3.1.0
info:
  title: wazzapi Public API
  description: >-
    Public API surface for external API-key clients. Only stable /api/v1
    endpoints are included.


    ## Webhook deliveries

    This reference also includes the webhook requests Wazzapi sends to your
    endpoint for incoming messages, message status updates, and device status
    changes. See the `Incoming webhooks` section in the sidebar for headers,
    payload fields, and concrete examples.
  version: 1.0.0
servers: []
security: []
tags:
  - name: Incoming webhooks
    description: >-
      POST deliveries that Wazzapi sends to your webhook endpoint after you
      subscribe to supported events. Verify the signature against the raw body
      and return a 2xx response quickly.
paths:
  /api/v1/devices/{device_id}:
    get:
      tags:
        - devices
      summary: Get Device
      description: |-
        Get a single WhatsApp device by ID.

        Requires ``admin:read`` or higher because device inventory exposes
        operational metadata for the workspace.
      operationId: get_device_api_v1_devices__device_id__get
      parameters:
        - name: device_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Device Id
        - name: Authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeviceResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DeviceResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        session_name:
          type: string
          title: Session Name
        phone_number:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone Number
        status:
          type: string
          title: Status
        is_primary:
          type: boolean
          title: Is Primary
        message_logging_enabled:
          type: boolean
          title: Message Logging Enabled
        auto_warmer_enabled:
          type: boolean
          title: Auto Warmer Enabled
        last_connected_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Connected At
        last_health_check_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Health Check At
        total_messages_sent:
          type: integer
          title: Total Messages Sent
        total_messages_received:
          type: integer
          title: Total Messages Received
        last_contact_sync_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Contact Sync At
        last_contact_sync_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Contact Sync Status
        contacts_synced_count:
          type: integer
          title: Contacts Synced Count
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        backend_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Backend Id
        timezone:
          type: string
          title: Timezone
        connection_attempts:
          type: integer
          title: Connection Attempts
        daily_message_limit:
          type: integer
          title: Daily Message Limit
        message_delay_ms:
          type: integer
          title: Message Delay Ms
      type: object
      required:
        - id
        - name
        - session_name
        - status
        - is_primary
        - message_logging_enabled
        - auto_warmer_enabled
        - total_messages_sent
        - total_messages_received
        - contacts_synced_count
        - created_at
        - updated_at
        - timezone
        - connection_attempts
        - daily_message_limit
        - message_delay_ms
      title: DeviceResponse
      description: Detailed read-only device response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````