v1

latestOpenAPI 3.0.3AGPL-3.0-only2026-07-17120116247.0 KB
token

Get a new user access token

Returns an access token and its expiration

get/user/token

Headers

X-SFTPGO-OTPstring

If you have 2FA configured, for the HTTP protocol, for the user attempting to log in you need to set the authentication code using this header parameter

Response

successful operation

access_tokenstring
expires_atstring date-time