Skip to main content
POST
cURL
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
name
string
required

Filename ending with .csv, .json, or .txt. Must be unique per team.

content
string
required

Plain text or base64-encoded file content. Base64 is auto-detected.

Response

Created

file_id
integer