cURL
curl --request POST \ --url https://api.rootkey.ai/api-v1/platform/files \ --header 'Content-Type: multipart/form-data' \ --header 'x-api-key: <api-key>' \ --form 'ownerWallet=<string>' \ --form file='@example-file' \ --form 'parentId=<string>' \ --form expirationDate=2023-11-07T05:31:56Z \ --form 'fileName=<string>'
{ "chainId": 123, "transactionHash": "<string>" }
Documentation IndexFetch the complete documentation index at: https://docs.rootkey.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.rootkey.ai/llms.txt
Use this file to discover all available pages before exploring further.
File created successfully
Was this page helpful?