Files

Create file

Create a new file.

post/core/files

Request

Headers

X-On-Behalf-Ofstring

The subject on whose behalf the operation is being performed.

string ipv4
OR
string ipv6

Contains the IP of the end user that is requesting the operation.

X-Uphold-User-Agentstring

Contains the user agent of the end user that is requesting the operation.

X-Uphold-User-Originstring

Contains the origin of the request made by the end user.

X-Uphold-User-Countrystring

Contains the code of the country of the end user that is requesting the operation.

X-Uphold-User-Subdivisionstring

Contains the code of the subdivision of the end user that is requesting the operation.

X-Uphold-User-Citystring

Contains the name of the city of the end user that is requesting the operation.

Request body

category'document' | 'image' | 'video' required

The category of the file.

contentTypestring required

The content type of the file.

metadataMetadata

Response

File created.

Changes

No recorded changes to this operation across all 1 revision of this API.