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
curl -sS https://api.mot3r.com/v1/mixer \
-H "Authorization: Bearer $MOT_ROOT_KEY"Response 200
Shortened: one track is shown.
{
"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"
}| Name | Type | Description |
|---|---|---|
rows | array | One track per tunnel that is not archived, ordered by handle. |
rows[].line_id | uuid | Tunnel ID. |
rows[].handle | string | Handle of the tunnel inside the account, ending in @. |
rows[].display_name | string or null | Name shown for the tunnel. |
rows[].status | string | Tunnel status, for example active or paused. |
rows[].holder | string or null | Client currently holding the tunnel. |
rows[].pulse | string | live (heartbeat in the last 2 minutes), quiet (last hour) or offline. |
rows[].strip | object | The 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. |
buses | object | Tunnel 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
{"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
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.
{
"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"
}| Name | Type | Description |
|---|---|---|
rows[].voice_id | string | Voice ID. Pass it as voice_id when you assign the voice. |
rows[].label | string | Name of the voice, up to 40 characters. |
rows[].engine | string | elevenlabs, google, openai, local or browser. |
rows[].pitch_semitones | number | -12 to 12. |
rows[].rate | number | Speech rate, 0.5 to 2. |
rows[].state | string | live 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[].about | string or null | Short description, up to 200 characters. |
Other refusals: 401 missing_credential, 401 invalid_credential, 503 mixer_off.
Error 401
{"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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | uuid or me | yes | Tunnel ID. me is the tunnel of a tunnel key. |
Request
curl -sS https://api.mot3r.com/v1/lines/me/mixer \
-H "Authorization: Bearer mot_lk_live_xxxxxxxxxxxx"Response 200
{
"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"
}| Name | Type | Description |
|---|---|---|
strip.line_id | uuid | Tunnel ID. |
strip.bus | string | A, MASTER or B. Default MASTER. |
strip.volume | integer | Level of the track, 0 to 100. Default 70. |
strip.muted | boolean | The track is muted. Default false. |
strip.mode | string | Working mode chosen by the owner: precise, balanced or fast. Default balanced. |
strip.tempo | integer | Working tempo chosen by the owner, 1 to 5. Default 3. |
strip.ptt_enabled | boolean | Whether the tunnel has the push-to-talk tool. Default false. The API only records this setting; it opens no voice channel. |
strip.ptt_target | uuid or null | The other tunnel of the account that push-to-talk talks to, or null. |
strip.voice | object or null | Voice assigned from the catalog: voice_id, label, engine and version (the tunnel voice version it created). null when no voice was chosen. |
strip.set | boolean | true once the owner changed any setting. false means the default values are shown and no value is stored. |
strip.updated_at | ISO 8601 | Time 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
{"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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | uuid | yes | Tunnel ID. me is not accepted. |
bus | body | string | no | A, MASTER or B. |
volume | body | integer | no | Whole number from 0 to 100. |
muted | body | boolean | no | true or false. |
mode | body | string | no | precise, balanced or fast. |
tempo | body | integer | no | Whole number from 1 to 5. |
ptt_enabled | body | boolean | no | Whether the tunnel has the push-to-talk tool. Setting false clears ptt_target. |
ptt_target | body | uuid or null | no | Another tunnel of the same account that is not archived. null clears it. Needs push-to-talk switched on. |
reason | body | string or null | no | Up 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
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
{
"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"
}| Name | Type | Description |
|---|---|---|
strip | object | The strip after the change, with the fields described in Get a tunnel mixer strip. |
replay | boolean | true 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
{"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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | uuid | yes | Tunnel ID. me is not accepted. |
voice_id | body | string | yes | voice_id of a catalog entry whose state is live. |
reason | body | string or null | no | Up to 200 characters, no control characters; kept in the audit log. |
Any other body field is refused with 400 unknown_request_field.
Request
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
{
"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"
}| Name | Type | Description |
|---|---|---|
line_id | uuid | Tunnel ID. |
voice | object | The voice now assigned: voice_id, label, engine and version, the tunnel voice version this assignment wrote. |
replay | boolean | true 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
{"error":{"status":404,"reason":"voice_not_found","message":"There is no such voice in the catalogue (see GET /v1/mixer/voices)."}}