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

# Document Verification Add Image Service (Upcoming)

> Document Verification Add Image Service API Documentation

For a usage description of the Document Verification Add Image Service, please refer to the [Document Verification](/essentials/documentVerification) page.

## Endpoint

**POST** `/addImage`


## OpenAPI

````yaml POST /addImage
openapi: 3.1.0
info:
  title: Umbrella API
  version: 1.0.0
  description: >-
    API documentation for Umbrella services including KYB, KYC, AML, payments,
    phone intelligence, onboarding, and address verification.
servers:
  - url: https://api-umbrella.io/api/services
    description: Production
  - url: https://sandbox-umbrella-api.azurewebsites.net/api/services
    description: Sandbox
security:
  - bearerAuth: []
paths:
  /addImage:
    post:
      summary: Add Image
      description: >-
        Adds an image (front, back, or selfie) to the ongoing journey. Images
        can be submitted as base64-encoded strings or as file uploads.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - journeyId
                - imageName
                - imageSide
                - imageData
              properties:
                journeyId:
                  type: string
                  description: Unique identifier for the verification journey.
                  example: uniqueJourneyIdentifier
                imageName:
                  type: string
                  description: Name of the uploaded image file.
                  example: uploadedFileName
                imageSide:
                  type: string
                  description: Specifies which side of the document (front, back, selfie).
                  enum:
                    - front
                    - back
                    - selfie
                  example: front
                storeOnly:
                  type: boolean
                  description: If true, stores the image without classification.
                  example: true
                imageData:
                  type: string
                  description: Base64-encoded image or multipart file.
                  example: base64EncodedImagestring
                passThroughData:
                  type: object
                  description: Custom metadata (e.g., user ID).
                  example:
                    userId: '12345'
      responses:
        '200':
          description: Successfully added image to journey.
        '400':
          description: Invalid request payload.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error400'
        '401':
          description: Unauthorized request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error401'
        '404':
          description: Journey not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error404'
components:
  schemas:
    Error400:
      required:
        - message
      type: object
      properties:
        message:
          type: string
          example: Invalid request payload
    Error401:
      required:
        - message
      type: object
      properties:
        message:
          type: string
          example: Unauthorized request
    Error404:
      type: object
      properties:
        message:
          type: string
          example: Journey not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token obtained from POST /auth. Valid for 60 minutes.

````