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

# 실존 인물 인증 활성화

> 보류 중인 캐릭터 에셋 그룹의 서명된 실존 인물 인증 세션을 활성화합니다.

보류 중인 `real` 그룹의 인증 세션을 활성화합니다. 그룹의 `liveness.platform_wrapper_url`에서 `expires`와 `signature` 쿼리 값을 사용하세요. 이 엔드포인트는 서명된 URL을 액세스 제어에 사용하므로 액세스 토큰이 필요하지 않습니다.

```bash theme={null}
curl -X POST \
  "https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness?expires=<EXPIRES>&signature=<SIGNATURE>"
```

응답에는 `data.session_ref`가 포함됩니다. 인증 페이지는 이 값을 사용하여 인증 서비스를 엽니다. 세션 참조를 그룹 ID로 저장하거나 재사용하지 마세요.

서명이 유효하지 않거나 만료되면 엔드포인트는 HTTP `403`을 반환합니다. 엔드포인트는 보류 중인 실존 인물 그룹만 허용합니다. 인증이 완료되면 [캐릭터 에셋 그룹 조회](https://apidoc.cometapi.com/ko/api/video/seedance/get-character-asset-group.md) 또는 [인증 상태 조회](https://apidoc.cometapi.com/ko/api/video/seedance/get-character-asset-liveness-status.md)를 사용하여 그룹이 `active`가 될 때까지 확인하세요.


## OpenAPI

````yaml api/openapi/video/seedance/post-activate-character-asset-liveness.openapi.json POST /api/asset/groups/{id}/liveness
openapi: 3.1.0
info:
  title: Activate character asset liveness API
  version: 1.0.0
  description: >-
    Activate a signed real-person verification session for a pending character
    asset group.
servers:
  - url: https://api.cometapi.com
security: []
paths:
  /api/asset/groups/{id}/liveness:
    post:
      summary: Activate real-person verification
      description: >-
        Activate a verification session for a pending real-person group. Use the
        expires and signature values from the signed verification URL.
      operationId: seedance_activate_character_asset_liveness
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: CometAPI group ID.
          example: ag-example
        - name: expires
          in: query
          required: true
          schema:
            type: integer
          description: Unix timestamp from the signed verification URL.
        - name: signature
          in: query
          required: true
          schema:
            type: string
          description: Signature from the signed verification URL.
      responses:
        '200':
          description: Verification session activated.
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - message
                  - data
                properties:
                  success:
                    type: boolean
                    description: Whether the request succeeded.
                  message:
                    type: string
                    description: Status or error message.
                  data:
                    $ref: '#/components/schemas/SessionRef'
              examples:
                success:
                  summary: Successful response
                  value:
                    success: true
                    message: ''
                    data: {}
        '403':
          description: The signature is invalid or expired.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                message: invalid signature
        '404':
          description: The group does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                message: asset group not found
      x-codeSamples:
        - lang: Shell
          label: Character asset request
          source: |-
            curl -X POST \
              "https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness?expires=<EXPIRES>&signature=<SIGNATURE>"
        - lang: Python
          label: Character asset request
          source: |
            import requests

            response = requests.post(
                "https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness?expires=<EXPIRES>&signature=<SIGNATURE>",
                timeout=30,
            )
            response.raise_for_status()
            print(response.json())
        - lang: JavaScript
          label: Character asset request
          source: |
            const response = await fetch(
              "https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness?expires=<EXPIRES>&signature=<SIGNATURE>",
              { method: "POST" },
            );

            if (!response.ok) throw new Error(await response.text());
            console.log(await response.json());
components:
  schemas:
    SessionRef:
      type: object
      required:
        - session_ref
      properties:
        session_ref:
          type: string
          description: Verification session reference used by the verification page.
    ErrorResponse:
      type: object
      required:
        - success
        - message
      properties:
        success:
          type: boolean
          description: Whether the request succeeded.
        message:
          type: string
          description: Description of the request error.
        data:
          type:
            - object
            - array
            - 'null'
          description: Error details when returned.
      additionalProperties: true

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.