Skip to main content
POST
/
rest
/
consultations
/
{id}
/
media
Get media upload URL
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>"
}

Authorizations

Authorization
string
header
required

OAuth 2.1 with PKCE

Path Parameters

id
string
required

Consultation ID

Body

application/json
type
enum<string>
required

Type of media

Available options:
photo,
video
contentType
string
required

MIME type (e.g., image/jpeg, video/mp4)

Example:

"image/jpeg"

Response

Upload URL generated

uploadUrl
string<uri>
messageId
string