POST
/
platform
/
files
cURL
curl --request POST \
  --url https://dev-api.rootkey.ai/api-v1/platform/files \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'ownerWallet=<string>' \
  --form 'fileName=<string>' \
  --form expirationDate=2023-12-25 \
  --form file=@example-file
{
  "chainId": "137",
  "transactionHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"
}

Authorizations

x-api-key
string
header
required

Body

multipart/form-data

File creation request payload

The body is of type object.

Response

200
application/json

File successfully created

The response is of type object.