Upload media as the patient

Requires Spruce Embedded Secure Messaging, a paid add-on. This endpoint is part of Spruce Embedded Secure Messaging, which is not included with standard Public API access. Contact Spruce Support at [email protected] to learn more.

This operation uploads an image, video, audio clip or document for the patient to attach to a message. The returned media id goes in the mediaId of a message attachment. The media belongs to the patient and the patient's own Spruce record; nobody else can attach it.
The Content-Type and Content-Disposition headers on the multipart media field name the file and its type, which decide how the practice sees and downloads it.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
file
required
Headers
string

The device id returned beside the token when it was minted. Recommended on every request; it is recorded with the request but the token, not the header, names the device.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json