Widget Embed (Runtime)
Upload session attachment
Upload a file attachment for a module field in a session.
POST
This is an embed runtime endpoint. It is called by the embedded Vouchmark widget in the applicant’s browser, not by your backend. It uses the widget’s
token and does not take a Bearer token.multipart/form-data. The session must be in_progress and the module must be enabled on the widget. Returns the updated session view, including the new attachment.
Accepted file types: PDF, JPEG, PNG. Maximum size 10 MB.
Path parameters
string
required
The session ID (starts with
wses_).Form fields
file
required
The file to upload. Field name must be
file.string
required
The widget’s embed link token (
embedLinkToken, starts with elt_).string
required
The module this attachment belongs to. Must be enabled on the widget.
string
required
The module field the attachment is stored under.
201. Rate limited to 40 uploads per hour.