Get Messaging Message Media

GET /tenants/{tenant}/messaging/messages/{messageId}/media/{index}

Streams one of a message's attachments (index from 0, as the message lists its media) from the Messaging Service's copy, with its content type and length; the message's media entries carry this route as url once the copy exists. 404 until then, for an unknown message or index, and for a user who can see only some clients unless the message's conversation is on one of them. 409 when messaging is off or not set up; 503 when the service is unavailable.

Requires: ViewAll on Messaging.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

index* path integer (int32)
messageId* path string (uuid)

Responses

200 OK
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found
409 Conflict
503 Service Unavailable

Try it