v1

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

Get a new admin access token

Returns an access token and its expiration

get/token

Headers

X-SFTPGO-OTPstring

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

Response

successful operation

access_tokenstring
expires_atstring date-time