Skip to main content
POST
Attaches one file to a test case itself, apart from the files added while a case is run. A case holds up to 10 files.
Adding a file needs the tests:write scope and the right to edit the case. GET on the same address lists the files and needs tests:read. Download and removal use the evidence addresses below.

Path parameters

string
required
The ID of the case, or its key such as QA-T12. A key needs the query parameter spaceSlug.

Request body

Send multipart/form-data with one field.
file
required
A PNG, JPEG, GIF or WebP image or a PDF file, up to 25 MB. The type is read from the content, not from the file name.

Response

Returns the file with status 201.

Download and remove

Errors

Last modified on October 26, 2026