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

# Complete real-person verification

> Query the real-person verification result and create an `avatarType=RealPerson` group after success. AiToEarn retains the session for 30 minutes. Business code `12329` means the result is not ready; retry later.



## OpenAPI

````yaml /openapi/en/aitoearn.openapi.json post /api/ai/volcengine/assets/visual-validation-sessions/{bytedToken}/complete
openapi: 3.0.1
info:
  title: AiToEarn Open Platform API
  description: >-
    AiToEarn Open Platform API. You can switch between the China and
    international sites for testing. Business success is determined by whether
    the response body has code === 0.
  version: 1.0.0
  contact: {}
servers:
  - url: https://aitoearn.cn
    description: China site
  - url: https://aitoearn.ai
    description: International site
security: []
tags:
  - name: AI Services
  - name: AI Services/Video Generation
  - name: AI Services/Image Generation
  - name: Channel Management
  - name: Channel Management/Accounts
  - name: Channel Management/Publishing
  - name: Channel Management/Platforms
  - name: Channel Management/Works
  - name: Channel Management/Account Groups
  - name: Channel Management/Authorization
  - name: Asset Management
  - name: AI Services/Large Language Models
  - name: AI Services/Real-person Assets
paths:
  /api/ai/volcengine/assets/visual-validation-sessions/{bytedToken}/complete:
    post:
      tags:
        - AI Services/Real-person Assets
      summary: Complete real-person verification
      description: >-
        Query the real-person verification result and create an
        `avatarType=RealPerson` group after success. AiToEarn retains the
        session for 30 minutes. Business code `12329` means the result is not
        ready; retry later.
      operationId: VolcengineAssetsController_completeVisualValidation
      parameters:
        - name: bytedToken
          in: path
          required: true
          description: Token returned when creating the real-person verification session.
          schema:
            type: string
            description: Token returned when creating the real-person verification session.
      responses:
        '200':
          description: >-
            The request has been processed by the service. Business success is
            determined by whether the response body has code === 0.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      groupId:
                        type: string
                        description: Asset group ID.
                        example: group_xxx
                      name:
                        type: string
                        description: Asset group name.
                        example: real_person_group
                      description:
                        type: string
                        description: Asset group description.
                      avatarType:
                        type: string
                        enum:
                          - Virtual
                          - RealPerson
                        description: >-
                          Avatar type. Virtual means a regular group; RealPerson
                          means a verified real-person group.
                        example: RealPerson
                      createdAt:
                        type: string
                        format: date-time
                        description: Created at.
                      updatedAt:
                        type: string
                        format: date-time
                        description: Updated at.
                    required:
                      - groupId
                      - name
                      - avatarType
                      - createdAt
                      - updatedAt
                    additionalProperties: false
                  code:
                    type: integer
                    description: >-
                      Business status code. 0 means success; non-zero means a
                      business error.
                  message:
                    type: string
                    description: Response message.
                  requestId:
                    type: string
                    description: Request ID.
                  timestamp:
                    type: integer
                    description: Error response timestamp in Unix milliseconds.
                required:
                  - code
                  - message
              examples:
                success:
                  summary: Success
                  value:
                    code: 0
                    message: Request succeeded
                    data:
                      groupId: group_xxx
                      name: real_person_group
                      avatarType: RealPerson
                      createdAt: '2026-07-02T12:00:00.000Z'
                      updatedAt: '2026-07-02T12:00:00.000Z'
                      description: string
                validationFailed10002:
                  summary: ValidationFailed (10002)
                  value:
                    code: 10002
                    message: Parameter validation failed
                    data: {}
                    timestamp: 1772099056662
                unauthorized401:
                  summary: Unauthenticated or invalid API Key
                  value:
                    code: 401
                    message: Unauthorized
                    data: {}
                    timestamp: 1772099056662
                volcengineLivenessSessionInvalid12322:
                  summary: VolcengineLivenessSessionInvalid (12322)
                  value:
                    code: 12322
                    message: Volcengine real-person verification session is invalid
                    data: {}
                    timestamp: 1772099056662
                volcengineLivenessVerificationPending12329:
                  summary: VolcengineLivenessVerificationPending (12329)
                  value:
                    code: 12329
                    message: >-
                      Volcengine real-person verification is not complete; retry
                      later
                    data: {}
                    timestamp: 1772099056662
      security:
        - apikey-header-X-Api-Key: []
components:
  securitySchemes:
    apikey-header-X-Api-Key:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >-
        Need to get API Key from AiToEarn. Click to go to ["API Key Obtaining
        Tutorial"](/en/use/api-key).

````