Upload Guest Profile Documents

POST /guest-profiles/::guestProfileId/documents

Upload files (PDF, DOCX, TXT, CSV, JPG, JPEG, PNG) to a guest profile. Documents are automatically analyzed in the background. Send files as multipart form data with field name "documents". Maximum 5 files per request.

TOKEN

Authentication

This endpoint requires an API token. You can learn more about how to get an API token from the authentication page.

URL

https://api.podengine.ai/api/v1/guest-profiles/:guestProfileId/documents

Code Example

API Specification

Path Parameters

PropertyTypeDescription
guestProfileId
string

The guest profile ID

200

Success Response

PropertyTypeDescription
status
literal: OK

data
object

uploadedDocuments
array
of
object

id
string

The document ID

fileName
string

Original file name

fileSize
number

File size in bytes