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

# Retrieve Push Device

> Return one device and recent registration, permission, and client events without raw provider tokens.



## OpenAPI

````yaml api-reference/openapi.json GET /push/devices/{id}
openapi: 3.0.1
info:
  title: Sendrealm API
  description: >-
    API for email, push, audience resources, domains, campaign drafts,
    templates, events, topics, and automations
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.sendrealm.com
security:
  - bearerAuth: []
paths:
  /push/devices/{id}:
    get:
      summary: Retrieve push device diagnostics
      description: >-
        Return one device and recent registration, permission, and client events
        without raw provider tokens.
      parameters:
        - $ref: '#/components/parameters/PushResourceId'
      responses:
        '200':
          description: Push device returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PushDeviceResponse'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    PushResourceId:
      name: id
      in: path
      required: true
      description: Public push app ID, device installation ID, or UUID resource ID.
      schema:
        type: string
  schemas:
    PushDeviceResponse:
      type: object
      required:
        - status
        - data
      properties:
        status:
          type: integer
          description: HTTP response status code
        data:
          $ref: '#/components/schemas/PushDeviceDetail'
    PushDeviceDetail:
      allOf:
        - $ref: '#/components/schemas/PushDevice'
        - type: object
          required:
            - events
          properties:
            events:
              type: array
              items:
                $ref: '#/components/schemas/PushDeviceEvent'
    Error:
      type: object
      required:
        - status
        - error
      properties:
        status:
          type: integer
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            details:
              $ref: '#/components/schemas/JsonValue'
            issues:
              type: array
              items:
                $ref: '#/components/schemas/ValidationIssue'
    PushDevice:
      type: object
      required:
        - id
        - device_id
        - app_id
        - app_name
        - platform
        - environment
        - external_id
        - app_version
        - sdk_version
        - os_version
        - device_model
        - locale
        - region
        - permission_status
        - subscribed
        - registration_token_present
        - apns_environment
        - last_registration_at
        - last_active_at
        - last_provider_error
        - contact
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        device_id:
          type: string
        app_id:
          type: string
          nullable: true
        app_name:
          type: string
          nullable: true
        platform:
          type: string
        environment:
          type: string
        external_id:
          type: string
          nullable: true
        app_version:
          type: string
          nullable: true
        sdk_version:
          type: string
          nullable: true
        os_version:
          type: string
          nullable: true
        device_model:
          type: string
          nullable: true
        locale:
          type: string
          nullable: true
        region:
          type: string
          nullable: true
        permission_status:
          type: string
          nullable: true
        subscribed:
          type: boolean
        registration_token_present:
          type: boolean
        apns_environment:
          type: string
          nullable: true
        last_registration_at:
          type: string
          format: date-time
          nullable: true
        last_active_at:
          type: string
          format: date-time
          nullable: true
        last_provider_error:
          type: object
          nullable: true
          allOf:
            - $ref: '#/components/schemas/PushDeviceProviderError'
        contact:
          type: object
          required:
            - id
            - email
          properties:
            id:
              type: string
              format: uuid
            email:
              type: string
              format: email
              nullable: true
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    PushDeviceEvent:
      type: object
      required:
        - id
        - type
        - properties
        - created_at
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
        properties:
          type: object
          nullable: true
          allOf:
            - $ref: '#/components/schemas/JsonObject'
        created_at:
          type: string
          format: date-time
    JsonValue:
      oneOf:
        - type: string
          nullable: true
        - type: number
        - type: boolean
        - type: object
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
        - type: array
          items:
            $ref: '#/components/schemas/JsonValue'
    ValidationIssue:
      type: object
      required:
        - code
        - path
        - message
      properties:
        code:
          type: string
        path:
          type: string
          nullable: true
        message:
          type: string
    PushDeviceProviderError:
      type: object
      required:
        - code
        - message
        - occurred_at
      properties:
        code:
          type: string
        message:
          type: string
          nullable: true
        occurred_at:
          type: string
          format: date-time
          nullable: true
    JsonObject:
      type: object
      additionalProperties:
        $ref: '#/components/schemas/JsonValue'
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````