Skip to main content

Recording settings API

Account-level recording defaults applied when rooms record.

Endpoint: https://mediasfu.com/v1/recordingsettings

Authenticate with Authorization: Bearer <api-username>:<api-key> from your server. Try every action and copy the request in the API Sandbox.

Set defaults​

POST https://mediasfu.com/v1/recordingsettings with action: "create"

Define the default recording behaviour.

Required fields​

FieldTypeDescriptionDefault
recordingAudioSupportbooleanRecord audiotrue
recordingVideoSupportbooleanRecord videotrue

Optional: More​

HLS, orientation, multi-format.

FieldTypeDescriptionDefault
recordingHLSSupportbooleanHLS streamfalse
recordingPreferredOrientationlandscape, portrait, neutralOrientation"landscape"
recordingMultiFormatsSupportbooleanMultiple formatsfalse
curl -X POST https://mediasfu.com/v1/recordingsettings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MEDIASFU_API_USERNAME:$MEDIASFU_API_KEY" \
-d '{"action":"create","recordingAudioSupport":true,"recordingVideoSupport":true}'

Update defaults​

POST https://mediasfu.com/v1/recordingsettings with action: "update"

Change only the settings you specify.

No fields are required.

Optional: Settings​

Any recording settings to change.

FieldTypeDescriptionDefault
recordingAudioSupportbooleanRecord audiotrue
recordingVideoSupportbooleanRecord videotrue
recordingHLSSupportbooleanHLS streamfalse
recordingPreferredOrientationlandscape, portrait, neutralOrientation"landscape"
recordingMultiFormatsSupportbooleanMultiple formatsfalse
curl -X POST https://mediasfu.com/v1/recordingsettings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MEDIASFU_API_USERNAME:$MEDIASFU_API_KEY" \
-d '{"action":"update"}'

List / get​

GET https://mediasfu.com/v1/recordingsettings with action: "get"

Retrieve records. Everything is optional — send as-is to list all.

No fields are required.

Optional: Filters​

All optional — narrow or page the results.

FieldTypeDescriptionDefault
startIndexnumberStart index0
pageSizenumber (1–100)Page size20
curl "https://mediasfu.com/v1/recordingsettings?action=get" \
-H "Authorization: Bearer $MEDIASFU_API_USERNAME:$MEDIASFU_API_KEY"

See errors and response format for failure handling.