POST
/
upload_file
curl --request POST \
  --url https://api.gumloop.com/api/v1/upload_file \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "file_name": "<string>",
  "file_content": "aSDinaTvuI8gbWludGxpZnk=",
  "user_id": "<string>",
  "project_id": "<string>"
}'
{
  "success": true,
  "file_name": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

File uploaded successfully

The response is of type object.