Skip to content
Riversoft STCP DirectLink API

Riversoft STCP DirectLink API

Version 2

The Riversoft STCP DirectLink API lets your applications exchange files with Riversoft® STCP DirectLink without manual intervention: authenticate users, send files, list and download available files, share files through secure links, and query the transfer history.

The API follows the HTTP/REST model, accepts forms and files, and responds in JSON (or with the binary file content, for downloads).

Note

For Riversoft STCP DirectLink Portal, the product architecture and day-to-day operation, see the Riversoft STCP DirectLink documentation.

Key features

FeatureWhat you can do
AuthenticationLog in with user and password (HTTP Basic), MFA, OAuth tokens, JWT exchange, and Single Sign-On (OAuth 2.0 and 2.1/OpenID Connect and SAML 2.0).
Sending filesSend files as multipart/form-data or as a binary body, with an optional recipient and metadata.
Receiving filesList the available files (including in the backup area) and download them through signed links.
Shared linksDeliver files to recipients through secure links, with or without a PIN.
ReportsQuery transfer records by period, direction, and file name.

General information

PropertyValue
API versionv2
Base URLhttps://{host}/directlink/v2
ProtocolHTTPS (required in production)
Response formatJSON; binary content for downloads
AuthenticationHTTP Basic (login), Bearer token or session cookie, SSO
SpecificationOpenAPI 3.0.3 in Portuguese, English, and Spanish

{host} is the Riversoft STCP DirectLink address of your environment, provided by the service administrator.

Important

Starting with Riversoft STCP DirectLink 9.0.1, the API is served only in version v2. If your integration uses v1, see Migration from v1 to v2.

Where to start

How this documentation is organized

SectionUse it to
ConceptsUnderstand the base URL, credentials, sessions, secure links, and access rules before you integrate.
QuickstartMake your first calls in a few minutes.
SecurityFollow best practices to protect credentials, tokens, and links.
AuthenticationFollow step-by-step instructions for each authentication method.
GuidesComplete file transfer and query tasks.
TroubleshootingFind common symptoms and how to resolve them.
ReferenceLook up the contract of each endpoint, data models, and codes.

Example conventions

  • The examples use curl and the illustrative host api.example.com. Replace it with the host of your environment.
  • Values between < and > in code blocks are placeholders to replace, not literal values.
  • The examples read passwords, PINs, and tokens with read -s so they do not stay in the shell history.
  • The response examples show the format of the fields. Actual values depend on the environment.