Skip to content

API reference

This section is the reference for the API contract. For step-by-step examples, see the Guides.

Conventions

ItemValue
Base URLhttps://{host}:{port}
Credential on protected routesAuthorization: Bearer <access_token>
Token request bodyapplication/x-www-form-urlencoded
Management request bodyapplication/json, sent exactly like this in Content-Type
Response bodyapplication/json
Token validity60 minutes by default; adjustable in session_duration (maximum 720 minutes)
Dates in filtersUnix timestamp in milliseconds

Endpoint catalog

The Riversoft STCP Gemini API is the same API used by the Riversoft Console Portal. Every endpoint below is available for integration. The full contract of each one, with parameters, bodies, responses and examples, is in the OpenAPI specification.

GroupBase pathAccessContents
Authentication/oauth, /disconnectPublic / BearerToken (/oauth/token, /oauth/v2/token), 2FA completion (/oauth/v2/token/mfa/{challengeID}) and sign-out. See Authentication.
Single Sign-On/auth/api/v1/ssoPublicSSO sign-in start and SAML 2.0 and OAuth 2.0 callbacks.
Information/infoPublicversion, status, report, license and sso/providers.
Configuration/stcpcore/v2BearerInstances, users, network services, schedules, file types and routings. See Management resources.
Administration/stcpadmin/v2BearerOperators, groups and permissions, API registration (settings), password policies and error and event codes.
Supervision/stcpadminsvc/v2/supervision/stcpmonBearerCommands to the supervision services and sandbox and keystore files.
Maintenance/stcpadminsvc/v2/supervision/stcpauthBearerPassword reset and change, unlock, hash and 2FA of users and operators.
Reports/reports/v2BearerEvents, operator activities, transfers and audit. See Reports.

In this section