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

# Register a current-user mobile push installation

> Registers or refreshes the authenticated user's mobile push installation so Leadping can deliver account and workflow notifications to the device.



## OpenAPI

````yaml /openapi.json put /notifications/push/installations/current
openapi: 3.1.1
info:
  title: Leadping API
  description: >-
    Leadping API for lead intake, messaging, calling, automations, billing,
    organization settings, and compliant lead communication workflows.
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: v1
servers:
  - url: https://api.leadping.ai
    description: Production
security: []
tags:
  - name: Analytics
  - name: Automations
  - name: Contact
  - name: Conversations
  - name: Feedback
  - name: Leads
  - name: LeadStatusChanges
  - name: LeadStatuses
  - name: Notifications
  - name: OutboundDelivery
  - name: Sources
  - name: Suppressions
  - name: Tags
  - name: Users
  - name: Calls
  - name: PhoneNumbers
  - name: Sms
  - name: Telephony
  - name: Organizations
  - name: UserDataExports
  - name: CallEvents
  - name: Events
  - name: SmsEvents
  - name: PaymentMethods
  - name: Transactions
  - name: Usage
  - name: Wallets
paths:
  /notifications/push/installations/current:
    put:
      tags:
        - Notifications
      summary: Register a current-user mobile push installation
      description: >-
        Registers or refreshes the authenticated user's mobile push installation
        so Leadping can deliver account and workflow notifications to the
        device.
      operationId: Notifications_RegisterPushInstallation
      requestBody:
        description: >-
          The application, device, platform, and provider push-channel details
          to register.
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/PushInstallationRequest'
              description: >-
                Describes a mobile push installation. Identity and Azure tags
                are derived by the API.
          application/*+json:
            schema:
              allOf:
                - $ref: '#/components/schemas/PushInstallationRequest'
              description: >-
                Describes a mobile push installation. Identity and Azure tags
                are derived by the API.
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: boolean
            application/json:
              schema:
                type: boolean
            text/json:
              schema:
                type: boolean
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ProblemDetails'
                description: >-
                  Standard problem-details response containing machine-readable
                  and human-readable information about an HTTP API error.
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ProblemDetails'
                description: >-
                  Standard problem-details response containing machine-readable
                  and human-readable information about an HTTP API error.
            text/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ProblemDetails'
                description: >-
                  Standard problem-details response containing machine-readable
                  and human-readable information about an HTTP API error.
        '401':
          description: Unauthorized
          content:
            text/plain:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ProblemDetails'
                description: >-
                  Standard problem-details response containing machine-readable
                  and human-readable information about an HTTP API error.
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ProblemDetails'
                description: >-
                  Standard problem-details response containing machine-readable
                  and human-readable information about an HTTP API error.
            text/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ProblemDetails'
                description: >-
                  Standard problem-details response containing machine-readable
                  and human-readable information about an HTTP API error.
components:
  schemas:
    PushInstallationRequest:
      type: object
      properties:
        installationId:
          type: string
          description: The stable installation identifier assigned by the mobile client.
        platform:
          type: string
          description: The Azure Notification Hubs platform name, such as apns or fcmv1.
        pushChannel:
          type: string
          description: >-
            The provider-issued push token or channel used to deliver
            notifications.
        appIdentifier:
          type: string
          description: The application bundle identifier or package name.
        appName:
          type:
            - 'null'
            - string
          description: The human-readable application name reported by the client.
        appVersion:
          type:
            - 'null'
            - string
          description: The semantic application version reported by the client.
        appBuild:
          type:
            - 'null'
            - string
          description: The application build number reported by the client.
        devicePlatform:
          type:
            - 'null'
            - string
          description: The mobile operating-system platform reported by the device.
        deviceVersion:
          type:
            - 'null'
            - string
          description: The mobile operating-system version reported by the device.
        deviceModel:
          type:
            - 'null'
            - string
          description: The device model reported by the client.
        metadata:
          type: object
          additionalProperties:
            type: string
          description: Optional client metadata stored with the push installation.
      description: >-
        Describes a mobile push installation. Identity and Azure tags are
        derived by the API.
    ProblemDetails:
      type: object
      properties:
        type:
          type:
            - 'null'
            - string
          description: URI reference that identifies the problem type.
        title:
          type:
            - 'null'
            - string
          description: Short, human-readable summary of the problem.
        status:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          description: HTTP status code returned for the problem.
          format: int32
        detail:
          type:
            - 'null'
            - string
          description: >-
            Human-readable explanation specific to this occurrence of the
            problem.
        instance:
          type:
            - 'null'
            - string
          description: >-
            URI reference that identifies this specific occurrence of the
            problem.
      description: >-
        Standard problem-details response containing machine-readable and
        human-readable information about an HTTP API error.

````