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

# Block a verification face

> Adds the face from this verification's selfie to your blocklist, shared by all your workspaces.
Later verifications with a matching face are declined.
Optional `reason` text is stored with the block and truncated to 1000 characters.

Optional `reason_code` classifies the block, and is what reporting counts: one of
`presentation_attack`, `fraudulent_document`, `scam_or_abuse`, `underage`, `other`.
Send it whenever a person made the decision — the admin consoles require it, so a
block that arrives without one cannot be told apart from an automated one.



## OpenAPI

````yaml /openapi.json post /verifications/{verification}/blocked-face
openapi: 3.1.0
info:
  title: API Reference
  version: 1.0.0
  description: >-
    ProofAge is an identity verification and age estimation API. Use this API to
    create verification sessions, upload media (selfies and documents), and
    receive decisions via webhooks.
servers:
  - url: https://api.proofage.net/v1
    description: API
security:
  - apiKey: []
    hmacSignature: []
paths:
  /verifications/{verification}/blocked-face:
    post:
      tags:
        - Verification
      summary: Block a verification face
      description: >-
        Adds the face from this verification's selfie to your blocklist, shared
        by all your workspaces.

        Later verifications with a matching face are declined.

        Optional `reason` text is stored with the block and truncated to 1000
        characters.


        Optional `reason_code` classifies the block, and is what reporting
        counts: one of

        `presentation_attack`, `fraudulent_document`, `scam_or_abuse`,
        `underage`, `other`.

        Send it whenever a person made the decision — the admin consoles require
        it, so a

        block that arrives without one cannot be told apart from an automated
        one.
      operationId: blockVerificationFace
      parameters:
        - name: verification
          in: path
          required: true
          description: The verification ID
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BlockVerificationFaceRequest'
      responses:
        '204':
          description: No content
        '404':
          $ref: '#/components/responses/ModelNotFoundException'
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    BlockVerificationFaceRequest:
      type: object
      properties:
        reason_code:
          $ref: '#/components/schemas/BlockedFaceReasonCode'
        reason:
          type:
            - string
            - 'null'
          description: >-
            Free text stored with the block; longer text is cut at 1000
            characters.
      title: BlockVerificationFaceRequest
    BlockedFaceReasonCode:
      type: string
      description: >
        Why a person put this face on the blocklist. The admin consoles require
        one; the public API accepts it optionally, and propagated device matches
        carry none.
      enum:
        - presentation_attack
        - fraudulent_document
        - scam_or_abuse
        - underage
        - other
      title: BlockedFaceReasonCode
  responses:
    ModelNotFoundException:
      description: Not found
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    apiKey:
      type: apiKey
      description: Your workspace public key (pk_test_… or pk_live_…).
      in: header
      name: X-API-Key
    hmacSignature:
      type: apiKey
      description: >-
        HMAC-SHA256 of the request, hex-encoded, keyed with the workspace secret
        key. See API authentication.
      in: header
      name: X-HMAC-Signature

````

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