Skip to content
Panel

API Reference Endpoints

Mixer

Read the mixer of the account, list the voices, and set the strip and the voice of a tunnel.

The mixer is the control surface of the account owner for its tunnels: one strip per tunnel with a bus, a level, a mute switch, a working mode, a tempo, push-to-talk settings and a voice. The API records the settings and returns them; a tunnel key can read its own strip but only the root key changes it. If the mixer is switched off on the server, every mixer endpoint answers 503 mixer_off. Errors use the envelope described in Errors. Keys are described in Authentication.

#Get the account mixer

GET /v1/mixer

Returns the whole mixer of the account in one read: one track for every tunnel that is not archived, ordered by handle, each with its mixer strip, and the IDs of the tunnels sitting on each of the buses A, MASTER and B. Use it to build a mixer screen with one request instead of one request per tunnel. If the mixer is switched off on the server, every mixer endpoint answers 503 mixer_off before it reads or writes anything.

Authentication: root key. Tunnel keys and test keys get 403 key_kind_not_allowed; a tunnel key reads only its own strip, with Get a tunnel mixer strip. A signed-in panel session of any member of the account also works, with ?tenant=<account id>.

Parameters

This endpoint takes no parameters.

Request

bash
curl -sS https://api.mot3r.com/v1/mixer \
  -H "Authorization: Bearer $MOT_ROOT_KEY"

Response 200

Shortened: one track is shown.

JSON
{
  "rows": [
    {
      "line_id": "3f2b8c1e-7a4d-4e5b-9c6f-1d2e3a4b5c6d",
      "handle": "support-bot@",
      "display_name": "Support bot",
      "status": "active",
      "holder": null,
      "pulse": "offline",
      "strip": {
        "line_id": "3f2b8c1e-7a4d-4e5b-9c6f-1d2e3a4b5c6d",
        "bus": "MASTER",
        "volume": 70,
        "muted": false,
        "mode": "balanced",
        "tempo": 3,
        "ptt_enabled": false,
        "ptt_target": null,
        "voice": null,
        "set": false,
        "updated_at": "2026-10-20T09:15:00.000Z"
      }
    }
  ],
  "buses": {
    "A": [],
    "MASTER": ["3f2b8c1e-7a4d-4e5b-9c6f-1d2e3a4b5c6d"],
    "B": []
  },
  "measured_at": "2026-10-20T09:15:00.000Z"
}
NameTypeDescription
rowsarrayOne track per tunnel that is not archived, ordered by handle.
rows[].line_iduuidTunnel ID.
rows[].handlestringHandle of the tunnel inside the account, ending in @.
rows[].display_namestring or nullName shown for the tunnel.
rows[].statusstringTunnel status, for example active or paused.
rows[].holderstring or nullClient currently holding the tunnel.
rows[].pulsestringlive (heartbeat in the last 2 minutes), quiet (last hour) or offline.
rows[].stripobjectThe mixer strip of the tunnel. Its fields are listed in Get a tunnel mixer strip. A tunnel whose strip was never changed shows the default values with set set to false.
busesobjectTunnel IDs per bus. The keys A, MASTER and B are always present; a bus with no tunnel is an empty array.

Other refusals: 401 missing_credential, 401 invalid_credential, 403 key_kind_not_allowed, 503 mixer_off.

Error 403

JSON
{"error":{"status":403,"reason":"key_kind_not_allowed","message":"This kind of key cannot do this. Use a tunnel key or the account root key."}}

#List mixer voices

GET /v1/mixer/voices

Returns the catalog of voices a tunnel can be given with Set the mixer voice of a tunnel. The catalog is the same for every account. If the mixer is switched off on the server, the endpoint answers 503 mixer_off.

Authentication: root key, tunnel key or test key. A signed-in panel session of any member of the account also works, with ?tenant=<account id>.

Parameters

This endpoint takes no parameters.

Request

bash
curl -sS https://api.mot3r.com/v1/mixer/voices \
  -H "Authorization: Bearer mot_lk_live_xxxxxxxxxxxx"

Response 200

Shortened: one entry is shown; the catalog has more.

JSON
{
  "rows": [
    {
      "voice_id": "neutral",
      "label": "Neutral",
      "engine": "browser",
      "pitch_semitones": 0.0,
      "rate": 1.00,
      "state": "live",
      "about": "Default voice of a line: no colour, no hurry."
    }
  ],
  "measured_at": "2026-10-20T09:15:00.000Z"
}
NameTypeDescription
rows[].voice_idstringVoice ID. Pass it as voice_id when you assign the voice.
rows[].labelstringName of the voice, up to 40 characters.
rows[].enginestringelevenlabs, google, openai, local or browser.
rows[].pitch_semitonesnumber-12 to 12.
rows[].ratenumberSpeech rate, 0.5 to 2.
rows[].statestringlive means the voice can be assigned. Any other value marks an entry that is listed but cannot be assigned; assigning it returns 409 voice_not_available.
rows[].aboutstring or nullShort description, up to 200 characters.

Other refusals: 401 missing_credential, 401 invalid_credential, 503 mixer_off.

Error 401

JSON
{"error":{"status":401,"reason":"missing_credential","message":"Send a key as Authorization: Bearer <key>."}}

#Get a tunnel mixer strip

GET /v1/lines/:id/mixer

Returns the mixer strip of one tunnel: the settings its owner keeps for it (bus, volume, mute, mode, tempo, push-to-talk and the assigned voice). A tunnel the owner has never changed returns the default strip, never a 404. The settings belong to the owner: a tunnel key can read them but cannot change them. If the mixer is switched off on the server, the endpoint answers 503 mixer_off.

Authentication: tunnel key or test key (its own tunnel; me works as the ID), or root key (any tunnel of the account; me returns 400 line_required). A signed-in panel session of any member of the account also works, with ?tenant=<account id> and the tunnel UUID.

Parameters

NameInTypeRequiredDescription
idpathuuid or meyesTunnel ID. me is the tunnel of a tunnel key.

Request

bash
curl -sS https://api.mot3r.com/v1/lines/me/mixer \
  -H "Authorization: Bearer mot_lk_live_xxxxxxxxxxxx"

Response 200

JSON
{
  "strip": {
    "line_id": "3f2b8c1e-7a4d-4e5b-9c6f-1d2e3a4b5c6d",
    "bus": "MASTER",
    "volume": 70,
    "muted": false,
    "mode": "balanced",
    "tempo": 3,
    "ptt_enabled": false,
    "ptt_target": null,
    "voice": null,
    "set": false,
    "updated_at": "2026-10-20T09:15:00.000Z"
  },
  "measured_at": "2026-10-20T09:15:00.000Z"
}
NameTypeDescription
strip.line_iduuidTunnel ID.
strip.busstringA, MASTER or B. Default MASTER.
strip.volumeintegerLevel of the track, 0 to 100. Default 70.
strip.mutedbooleanThe track is muted. Default false.
strip.modestringWorking mode chosen by the owner: precise, balanced or fast. Default balanced.
strip.tempointegerWorking tempo chosen by the owner, 1 to 5. Default 3.
strip.ptt_enabledbooleanWhether the tunnel has the push-to-talk tool. Default false. The API only records this setting; it opens no voice channel.
strip.ptt_targetuuid or nullThe other tunnel of the account that push-to-talk talks to, or null.
strip.voiceobject or nullVoice assigned from the catalog: voice_id, label, engine and version (the tunnel voice version it created). null when no voice was chosen.
strip.setbooleantrue once the owner changed any setting. false means the default values are shown and no value is stored.
strip.updated_atISO 8601Time of the last change. For a default strip, the time of this read.

Other refusals: 400 bad_line_id, 400 line_required, 401 missing_credential, 401 invalid_credential, 403 key_kind_not_allowed, 403 line_key_required, 404 line_not_found, 503 mixer_off.

Error 403

JSON
{"error":{"status":403,"reason":"other_line","message":"A tunnel key can only read and change its own tunnel."}}

#Set a tunnel mixer strip

PUT /v1/lines/:id/mixer

Changes the mixer strip of a tunnel. Send any subset of the settings; fields you leave out keep their value, and a tunnel with no stored strip starts from the defaults. Sending the values the strip already has is a replay: no record is written. A change is recorded in the audit log. If the mixer is switched off on the server, the endpoint answers 503 mixer_off.

Authentication: root key with the keys:rw scope (any tunnel of the account). A tunnel key or test key gets 403 key_kind_not_allowed: a cable cannot move the owner's settings. A signed-in panel session of an owner or admin also works, with ?tenant=<account id>.

Parameters

NameInTypeRequiredDescription
idpathuuidyesTunnel ID. me is not accepted.
busbodystringnoA, MASTER or B.
volumebodyintegernoWhole number from 0 to 100.
mutedbodybooleannotrue or false.
modebodystringnoprecise, balanced or fast.
tempobodyintegernoWhole number from 1 to 5.
ptt_enabledbodybooleannoWhether the tunnel has the push-to-talk tool. Setting false clears ptt_target.
ptt_targetbodyuuid or nullnoAnother tunnel of the same account that is not archived. null clears it. Needs push-to-talk switched on.
reasonbodystring or nullnoUp to 200 characters, no control characters; kept in the audit log.

Send at least one of bus, volume, muted, mode, tempo, ptt_enabled, ptt_target. Any other body field is refused with 400 unknown_request_field (the field name is in path).

Request

bash
curl -sS -X PUT https://api.mot3r.com/v1/lines/3f2b8c1e-7a4d-4e5b-9c6f-1d2e3a4b5c6d/mixer \
  -H "Authorization: Bearer $MOT_ROOT_KEY" \
  -H "content-type: application/json" \
  -d '{"bus":"A","volume":80,"mode":"fast","tempo":4,"ptt_enabled":true,"ptt_target":"7c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","reason":"route to bus A"}'

Response 200

JSON
{
  "strip": {
    "line_id": "3f2b8c1e-7a4d-4e5b-9c6f-1d2e3a4b5c6d",
    "bus": "A",
    "volume": 80,
    "muted": false,
    "mode": "fast",
    "tempo": 4,
    "ptt_enabled": true,
    "ptt_target": "7c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "voice": null,
    "set": true,
    "updated_at": "2026-10-20T09:30:00.000Z"
  },
  "replay": false,
  "measured_at": "2026-10-20T09:30:00.012Z"
}
NameTypeDescription
stripobjectThe strip after the change, with the fields described in Get a tunnel mixer strip.
replaybooleantrue when the strip was already set and the values are unchanged. No record was written.

Other refusals: 400 bad_line_id, 400 bad_request, 400 bad_bus, 400 bad_volume, 400 bad_muted, 400 bad_mode, 400 bad_tempo, 400 bad_ptt_enabled, 400 bad_ptt_target, 400 ptt_target_self, 400 bad_reason, 400 unknown_request_field, 403 key_kind_not_allowed, 403 scope_missing, 404 line_not_found, 404 ptt_target_not_found, 409 ptt_target_needs_ptt, 409 line_archived, 503 mixer_off.

Error 400

JSON
{"error":{"status":400,"reason":"bad_bus","message":"bus is A, MASTER or B."}}

#Set the mixer voice of a tunnel

PUT /v1/lines/:id/mixer/voice

Gives a tunnel a voice from the catalog returned by List mixer voices. The assignment saves a new version of the tunnel voice, the same record that Set the tunnel voice writes; the engine, reference, pitch and rate come from the catalog, never from the request. Assigning the voice the tunnel already has is a replay. If the mixer is switched off on the server, the endpoint answers 503 mixer_off.

Authentication: root key with the keys:rw scope (any tunnel of the account). A tunnel key or test key gets 403 key_kind_not_allowed. A signed-in panel session of an owner or admin also works, with ?tenant=<account id>.

Parameters

NameInTypeRequiredDescription
idpathuuidyesTunnel ID. me is not accepted.
voice_idbodystringyesvoice_id of a catalog entry whose state is live.
reasonbodystring or nullnoUp to 200 characters, no control characters; kept in the audit log.

Any other body field is refused with 400 unknown_request_field.

Request

bash
curl -sS -X PUT https://api.mot3r.com/v1/lines/3f2b8c1e-7a4d-4e5b-9c6f-1d2e3a4b5c6d/mixer/voice \
  -H "Authorization: Bearer $MOT_ROOT_KEY" \
  -H "content-type: application/json" \
  -d '{"voice_id":"neutral","reason":"calm default voice"}'

Response 200

JSON
{
  "line_id": "3f2b8c1e-7a4d-4e5b-9c6f-1d2e3a4b5c6d",
  "voice": {
    "voice_id": "neutral",
    "label": "Neutral",
    "engine": "browser",
    "version": 2
  },
  "replay": false,
  "measured_at": "2026-10-20T09:40:00.000Z"
}
NameTypeDescription
line_iduuidTunnel ID.
voiceobjectThe voice now assigned: voice_id, label, engine and version, the tunnel voice version this assignment wrote.
replaybooleantrue when the tunnel already had this voice. No record was written.

Other refusals: 400 bad_line_id, 400 bad_request, 400 bad_voice_id, 400 bad_reason, 400 unknown_request_field, 403 key_kind_not_allowed, 403 scope_missing, 404 line_not_found, 409 voice_not_available, 409 line_archived, 503 mixer_off.

Error 404

JSON
{"error":{"status":404,"reason":"voice_not_found","message":"There is no such voice in the catalogue (see GET /v1/mixer/voices)."}}