Skip to main content
POST
cURL

Headers

Authorization
string
required

Bearer token API key

Body

application/json
gameId
string<uuid>
required
fileName
string
required
Minimum string length: 1
fileType
enum<string>
required
Available options:
image/svg+xml,
image/png,
image/jpeg,
image/gif,
application/pdf,
video/mp4,
video/quicktime,
text/plain,
application/zip,
application/vnd.rar
fileSize
integer
required

Size of the file in bytes. Maximum allowed size is 200 MB.

Required range: 0 < x <= 209715200
playerId
string | null

Optional player identifier to associate with the uploaded attachment.

Minimum string length: 1

Response

200 - application/json

Attachment upload instructions

attachmentId
string
required

Attachment identifier to be used in POST /tickets. Represents the uploaded file key.

uploadUrl
string<uri>
required

Pre-signed URL for uploading the file.

uploadMethod
enum<string>
required

HTTP method to use for the upload request.

Available options:
PUT
uploadHeaders
object
required

Headers that must be included when uploading the file. Provide them exactly as returned to ensure the URL signature matches.

uploadExpiresInSeconds
integer
required

Number of seconds the signed upload URL remains valid.

Required range: x > 0