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

# Re-verify an identity from its stored verification

> Starts a fresh verification of the person behind a `principal_ref` from the fields their current verification recorded — nothing is collected from you and no stored field is echoed back. Verification runs asynchronously exactly like a direct submission: the request is accepted with a `202` and a submission id — poll `GET /identity_submissions/{submission_id}` or subscribe to the `OnboardingSession.completed` webhook. The reference survives re-verification; on completion the new verification supersedes the old one.



## OpenAPI

````yaml /api-reference/openapi.json post /identities/principals/{principal_ref}/reverify
openapi: 3.1.0
info:
  title: baselayer-api-service
  version: 0.1.0
servers:
  - url: https://api.baselayer.com/
security: []
paths:
  /identities/principals/{principal_ref}/reverify:
    post:
      tags:
        - Identities
      summary: Re-verify an identity from its stored verification
      description: >-
        Starts a fresh verification of the person behind a `principal_ref` from
        the fields their current verification recorded — nothing is collected
        from you and no stored field is echoed back. Verification runs
        asynchronously exactly like a direct submission: the request is accepted
        with a `202` and a submission id — poll `GET
        /identity_submissions/{submission_id}` or subscribe to the
        `OnboardingSession.completed` webhook. The reference survives
        re-verification; on completion the new verification supersedes the old
        one.
      operationId: reverify_identity
      parameters:
        - name: principal_ref
          in: path
          required: true
          schema:
            type: string
            title: Principal Ref
      responses:
        '202':
          description: Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1.IdentitySubmissionResponse'
            application/vnd.baselayer.v1+json:
              schema:
                $ref: '#/components/schemas/v1.IdentitySubmissionResponse'
        '404':
          description: >-
            The principal_ref is unknown or was issued to another organization —
            the two are indistinguishable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
                title: ResourceNotFound
                description: Could not locate the resource for the given URI.
                examples:
                  - code: 1
                    message: Could not locate the resource for the given URI.
                    metadata: {}
        '409':
          description: >-
            A re-verification is already in flight for this identity, or there
            is no current verification to re-verify from.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
                title: IdentityReverifyInFlight
                description: A re-verification for this identity is already in flight.
                examples:
                  - code: 6202
                    message: A re-verification for this identity is already in flight.
                    metadata: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    v1.IdentitySubmissionResponse:
      description: >-
        Body for the submission routes: the accepted, asynchronous submission.


        KYC/KYB run asynchronously — the response never carries a verification

        result. Poll ``GET /identity_submissions/{submission_id}`` or subscribe
        to

        the ``OnboardingSession.completed`` webhook for the outcome and refs.
      properties:
        submission_id:
          description: >-
            Unique id of the accepted submission — the handle for status
            polling, and the session id the OnboardingSession.completed webhook
            carries.
          format: uuid
          title: Submission Id
          type: string
        state:
          $ref: '#/components/schemas/v1.ResumableWorkflowState'
          description: Lifecycle state of the verification workflow.
        reference_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: Caller-supplied correlation id.
          title: Reference Id
      required:
        - submission_id
        - state
      title: IdentitySubmissionResponse (v1)
      type: object
    APIError:
      properties:
        code:
          type: integer
          title: Code
        message:
          type: string
          title: Message
        uri:
          anyOf:
            - type: string
            - type: 'null'
          title: Uri
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
      type: object
      required:
        - code
        - message
      title: APIError
      description: >-
        APIError is a Pydantic model for standardizing error responses from the
        API.


        This class is used internally by APIException for JSON serialization.

        Users should typically work with APIException directly in exception
        catalogs.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    v1.ResumableWorkflowState:
      description: |-
        Lifecycle state of an asynchronous verification workflow, such as an
        identity submission: PENDING, EXECUTING, or WAITING while in flight,
        then a terminal COMPLETED, FAILED, EXPIRED, or CANCELLED.
      enum:
        - PENDING
        - EXECUTING
        - WAITING
        - COMPLETED
        - FAILED
        - EXPIRED
        - CANCELLED
      title: ResumableWorkflowState
      type: string
    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
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````