cURL
curl --request POST \ --url https://mcp.arlohealth.ai/rest/consultations/{id}/media \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "type": "photo", "contentType": "image/jpeg" } '
{ "uploadUrl": "<string>", "messageId": "<string>" }
Get a presigned URL for uploading photos or videos to a consultation. After receiving the uploadUrl, upload the file with a PUT request including the Content-Type header.
OAuth 2.1 with PKCE
Consultation ID
Type of media
photo
video
MIME type (e.g., image/jpeg, video/mp4)
"image/jpeg"
Upload URL generated