Updated
Edit on GitHub
Server API routes left out
Copy as MarkdownThe server API also has these routes. The reference leaves them out: devices, the RustDesk client or the console call them, not scripts. The console routes left out are the ones the command line leaves out, on Routes without a command.
| Route | Why |
|---|---|
DELETE /api/onboard/codes/{id} |
Only the console calls it, inside the server process; from outside it answers 404. |
DELETE /api/onboard/devices/{id} |
Only the console calls it, inside the server process; from outside it answers 404. |
DELETE /api/onboard/sessions/{id} |
Only the console calls it, inside the server process; from outside it answers 404. |
DELETE /api/peers/{id}/device-password |
Only the console calls it, inside the server process; from outside it answers 404. |
DELETE /api/peers/{id}/signin |
Only the console calls it, inside the server process; from outside it answers 404. |
GET /api/auth/oidc/authorize |
Part of the single sign-on in the browser and the RustDesk client's sign-in through it. |
GET /api/auth/oidc/callback |
Part of the single sign-on in the browser and the RustDesk client's sign-in through it. |
GET /api/auth/oidc/session |
Part of the single sign-on in the browser and the RustDesk client's sign-in through it. |
GET /api/auth/oidc/status |
Part of the single sign-on in the browser and the RustDesk client's sign-in through it. |
GET /api/auth/sso/status |
Part of the single sign-on in the browser and the RustDesk client's sign-in through it. |
GET /api/console-device-login/{id} |
Only the console calls it, inside the server process; from outside it answers 404. |
GET /api/device-password-policies |
Only the console calls it, inside the server process; from outside it answers 404. |
GET /api/devices/register/status |
An enrolling device polls it about its own enrollment; not for scripts. |
GET /api/oidc/auth-query |
Part of the single sign-on in the browser and the RustDesk client's sign-in through it. |
GET /api/oidc/callback |
Part of the single sign-on in the browser and the RustDesk client's sign-in through it. |
GET /api/onboard/codes |
Only the console calls it, inside the server process; from outside it answers 404. |
GET /api/onboard/codes/{id} |
Only the console calls it, inside the server process; from outside it answers 404. |
GET /api/onboard/devices/{id}/key-request |
Only the console calls it, inside the server process; from outside it answers 404. |
GET /api/onboard/feedback |
Only the console calls it, inside the server process; from outside it answers 404. |
GET /api/onboard/feedback/{id} |
Only the console calls it, inside the server process; from outside it answers 404. |
GET /api/onboard/sessions |
Only the console calls it, inside the server process; from outside it answers 404. |
GET /api/peers/{id}/device-password |
Only the console calls it, inside the server process; from outside it answers 404. |
GET /api/peers/{id}/signin |
Only the console calls it, inside the server process; from outside it answers 404. |
GET /api/software |
The RustDesk client's update probe. It answers everyone with an empty object. |
GET /api/software/client-download-link |
The RustDesk client's update probe. It answers everyone with an empty object. |
GET /api/telemetry/key |
Devices fetch the server's telemetry key with it to encrypt their reports. It needs no credentials and holds nothing for scripts. |
PATCH /api/peers/{id}/signin |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/audit/alarm |
RustDesk clients report their own connections, file transfers and alarms here without a credential; the record is taken only for a device the server has, named by host_id and the uuid it registered with. |
POST /api/audit/conn |
RustDesk clients report their own connections, file transfers and alarms here without a credential; the record is taken only for a device the server has, named by host_id and the uuid it registered with. |
POST /api/audit/file |
RustDesk clients report their own connections, file transfers and alarms here without a credential; the record is taken only for a device the server has, named by host_id and the uuid it registered with. |
POST /api/auth/ldap/verify |
Only the console calls it: the server API takes it only through the console's in-process handler or with the console's panel trust statement. |
POST /api/auth/oidc/exchange |
Part of the single sign-on in the browser and the RustDesk client's sign-in through it. |
POST /api/billing/activity |
NeoDesk clients on a controlled device report stretches without remote input here without a credential, for the billing of the session; the report is taken only for a device the server has, named by id and the uuid it registered with. |
POST /api/console-device-login/{id}/approve |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/console-device-login/{id}/deny |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/device-passwords/bulk |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/devices/deploy |
A client being deployed calls it with a device token about itself; not for scripts. |
POST /api/devices/register |
A device calls it to enroll itself, before it has credentials; not for scripts. |
POST /api/devices/self/access-policy |
Called by devices about themselves, with the device's own credentials, not by scripts. |
POST /api/devices/self/help-request |
Called by devices about themselves, with the device's own credentials, not by scripts. |
POST /api/devices/self/totp |
Called by devices about themselves, with the device's own credentials, not by scripts. |
POST /api/fleet/software |
Only the console calls it: the server API takes it only through the console's in-process handler or with the console's panel trust statement. |
POST /api/fleet/task-result |
Only the console calls it: the server API takes it only through the console's in-process handler or with the console's panel trust statement. |
POST /api/guest/access-links/consume |
Only the console's guest relay calls it, to count one use of a link once it opened a guest session. |
POST /api/guest/access-links/events |
Only the console's guest relay calls it, to write the start and end of a guest session to the audit log. |
POST /api/heartbeat |
Called by devices about themselves, with the device's own credentials, not by scripts. |
POST /api/oidc/auth |
Part of the single sign-on in the browser and the RustDesk client's sign-in through it. |
POST /api/onboard/admissions |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/onboard/codes |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/onboard/codes/lookup |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/onboard/codes/prune |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/onboard/codes/redeem |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/onboard/devices |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/onboard/devices/{id}/key-request/approve |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/org-invitations/lookup |
Only the console calls it: the server API takes it only through the console's in-process handler or with the console's panel trust statement. Scripts use the console's POST /api/invitations/lookup. |
POST /api/org-invitations/redeem |
Only the console calls it: the server API takes it only through the console's in-process handler or with the console's panel trust statement. Scripts use the console's POST /api/invitations/redeem. |
POST /api/pairing/config |
Only NeoDesk Desktop and NeoDesk Companion call it, without a sign-in, with the pairing code a person typed in; redeem spends the code. |
POST /api/pairing/redeem |
Only NeoDesk Desktop and NeoDesk Companion call it, without a sign-in, with the pairing code a person typed in; redeem spends the code. |
POST /api/peers/{id}/connect-password/answer |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/peers/{id}/device-password/answer |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/peers/{id}/device-password/reveal |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/peers/{id}/signin/use |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/shell/session |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/support/caller |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/sysinfo |
Called by devices about themselves, with the device's own credentials, not by scripts. |
POST /api/sysinfo_ver |
Called by devices about themselves, with the device's own credentials, not by scripts. |
POST /api/unattended/caller |
Only the console calls it, inside the server process; from outside it answers 404. |
PUT /api/device-password-policies |
Only the console calls it, inside the server process; from outside it answers 404. |
PUT /api/onboard/feedback/{id} |
Only the console calls it, inside the server process; from outside it answers 404. |
PUT /api/onboard/sessions/{id} |
Only the console calls it, inside the server process; from outside it answers 404. |
PUT /api/peers/{id}/device-password |
Only the console calls it, inside the server process; from outside it answers 404. |
PUT /api/peers/{id}/signin |
Only the console calls it, inside the server process; from outside it answers 404. |
POST /api/fleet/targets/resolve |
Only the console calls it, inside the server process, to resolve the devices of a maintenance window; from outside it answers 403. |