cURL
curl --request POST \ --url https://api.spectropic.ai/v1/upload \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'file=<unknown>'
{ "fileKey": "<string>" }
Upload a file and get a file key. The file will be automatically deleted after 24 hours.
url
API key authentication. Add your API key with format: Bearer <API_KEY>
OK