Api reference
POST Files
POST
/v1/filesAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
name?string
Default
"attachment"Request Body
application/octet-stream
TypeScript Definitions
Use the request body type in TypeScript.
body*file
Format
binaryResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/files" \ -H "Content-Type: application/octet-stream" \ -d 'string'{ "id": "string", "name": "string", "mimeType": "string", "sizeBytes": 0, "sha256": "string", "kind": "image", "createdAt": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}