Chat History Download URL

Generate a download URL for an event's chat history

Info

Required scope: chat.read

Warning

This method requires authentication

Generate a one-time URL to download an event's full chat history export. The request takes no body.

curl -X POST \
     -H "Authorization: Bearer [access token]" \
     https://api.restream.io/v2/user/events/{eventId}/chat/history/download-url

Path Parameters:

ParameterTypeDescription
eventIdstring (UUID)The UUID of the event (required)

Response

The returned downloadUrl is a short-lived, tokenized link. Fetch it directly to download the chat history export — no Authorization header is required on that URL.

Success
Error (invalid token)
Error (no chat history)
{
  "downloadUrl": "https://api.restream.io/protected/chat/export?token=xxx"
}