Skip to main content
POST
Create Support Case Attachment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

supportCaseId
string<uuid>
required

Support case identifier

Example:

"0197f150-40d6-7c1a-bdf2-c5884e07d401"

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Body

application/json
contentType
string
required

File MIME type

Maximum string length: 255
Example:

"image/png"

fileName
string
required

Original file name

Maximum string length: 255
Example:

"evidence.png"

sizeBytes
integer
required

File size in bytes

Example:

2048

storageKey
string
required

Private storage key

Maximum string length: 1024
Example:

"support-cases/0197f150/evidence.png"

supportCaseMessageId
string<uuid> | null

Support case message identifier

Example:

null

Response

Created

Support case attachment

supportCaseAttachmentId
string<uuid>
required

Support case attachment identifier

Example:

"0197f153-4269-7183-b91c-4d73c8ccb191"

supportCaseId
string<uuid>
required

Support case identifier

Example:

"0197f150-40d6-7c1a-bdf2-c5884e07d401"

storageKey
string
required

Private storage key

Maximum string length: 1024
Example:

"support-cases/0197f150/evidence.png"

fileName
string
required

Original file name

Maximum string length: 255
Example:

"evidence.png"

contentType
string
required

File MIME type

Maximum string length: 255
Example:

"image/png"

sizeBytes
integer
required

File size in bytes

Example:

2048

createdAt
string<date-time>
required

Created at

Example:

"2026-07-10T12:00:00.000Z"

supportCaseMessageId
string<uuid> | null

Support case message identifier

Example:

null

uploadedByUserId
string<uuid> | null

Uploading user identifier

Example:

null

deletedAt
string<date-time> | null

Deleted at

Example:

null