Link Search Menu Expand Document

/uploadImage

POST https://api.voxtour.ai/v1/uploadImage
uploadImage API allows users to upload an image file and receive a unique image ID in response. This API supports multipart form data and requires an API key for authentication.

Key Features

  1. Upload image files using multipart form data
  2. Receive a unique image ID for reference
  3. Requires an API key for authentication

Example Request

Uploading an image file:
POST /uploadImage
Headers:
Content-Type: multipart/form-data

Request Body (Form-Data)

apiKey string Required
A unique authentication key required for API access. This key must be included in every request to authorize and validate usage. Obtain your API key from the VoxTour.ai Developer Portal.
file file Required
The image file to be uploaded. Supported formats: JPG, PNG, and GIF.

Example Response

Returns a unique file ID:

{
    "fileId": "a7b1ac9d-3f64-4bd5-ad84-5cf59a72045b"
}