POST
/
files
cURL
curl --request POST \
  --url https://app.loadforge.com/api/v2/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "data.csv",
  "content": "a,b,c\n1,2,3"
}'
{
  "file_id": 123
}
Create a team-scoped file. content can be plain text or base64 (auto-detected). name must be unique per team and end with .csv, .json, or .txt.

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

Created

The response is of type object.