User
Login
URL: http(s)://rapidgator.net/api/v2/user/loginDescription: Generates a Access Token to be used in upcoming API requests.
Method: (GET|POST)
Required params:
- login - The Emails Address of the user's account,
- password - The Password of the user's account
- code - The 2FA (two-factor authentication) code is required when 2FA is enabled
Optional params:
Request example: /api/v2/user/login?login=john@example.com&password=my_password&code=000000
Success response example:
Error response example 1:
Error response example 2:
Info
URL: http(s)://rapidgator.net/api/v2/user/infoDescription: Returns a list of the user's personal information.
Method: (GET|POST)
Required params:
- token - Access Token to authenticate the user's current session.
Optional params:
Request example: /api/v2/user/info?token=arsd4h37ecfkdqd16uolf5nai1
Success response example:
Error response example: