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

# Get phone unlock task



## OpenAPI

````yaml /openapi.json get /external/contacts/unlock-phone-tasks/{taskId}
openapi: 3.1.0
info:
  title: Lensmor API
  version: 0.22.0
  description: >-
    Lensmor Event Intelligence API for event discovery, exhibitor research,
    personnel lookup, credits, and profile matching.
servers:
  - url: https://platform.lensmor.com
security:
  - bearerAuth: []
tags:
  - name: Credits
  - name: Actions
  - name: Events
  - name: Exhibitors
  - name: Personnel
  - name: Contacts
  - name: Profile Matching
paths:
  /external/contacts/unlock-phone-tasks/{taskId}:
    get:
      tags:
        - Contacts
      summary: Get phone unlock task
      operationId: getPhoneUnlockTask
      parameters:
        - name: taskId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Phone unlock task status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneUnlockTask'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    PhoneUnlockTask:
      type: object
      required:
        - taskId
        - taskStatus
        - items
      properties:
        taskId:
          type: string
        taskStatus:
          type: string
          enum:
            - pending
            - processing
            - completed
            - failed
        items:
          type: array
          items:
            type: object
            required:
              - personnelId
              - status
            properties:
              personnelId:
                type: string
              status:
                type: string
                enum:
                  - pending
                  - processing
                  - unlocked
                  - failed
              phone:
                type:
                  - string
                  - 'null'
              errorCode:
                type: string
    ApiError:
      type: object
      required:
        - code
        - message
        - errorKey
        - traceId
      properties:
        code:
          type: integer
        message:
          type: string
        errorKey:
          type: string
        traceId:
          type: string
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    RateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: User API key

````