Skip to main content
POST
Upload a pending SMS attachment

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Body

multipart/form-data

Validated request fields for this operation.

file
file
required

File. Validation: required, file, max:10240, mimes:jpg,jpeg,png,gif,pdf; maximum file size 10240 KiB.

donor_id
integer | null

Donor id. Validation: nullable, integer.

Example:

1

Response

Operation result.

message
string
Example:

"Attachment uploaded."

data
object