Skip to main content
POST
Upload a file

Authorizations

Authorization
string
header
required

Developer Platform Project credential, minted via POST /api/v1/projects/{projectId}/credentials. Send as Authorization: Bearer <keyId>.<secret>. Optionally pair with the x-persona-external-user-id header to act on behalf of one of the Project's own external users. This credential is a server-side secret — see the Integration Guide.

Headers

x-persona-external-user-id
string
required

Body

multipart/form-data
file
file
agentId
string
threadId
string

Response

File uploaded