Create file

post
https://api.wafeq.com/v1/files/

Endpoint for creating a new file. Upload a file using multipart/form-data. Files can be up to 25 MB; a larger file is refused with code file_too_large.

Query Params
string

Comma-separated related objects to return in full instead of as IDs. Accepted values: entities. Nested relations are joined with a dot.

Body Params
stringlength ≤ 200

Your own identifier for the file, unique within the organization.

file

The actual file content. Files can be up to 25 MB; a larger file is refused with code file_too_large.

Headers
string

The id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.

Response