Sloxly Docs
OAuth Captcha Console

Authorization Endpoint

Redirect the user to this endpoint to begin the OAuth flow.

Request

HTTP
GET https://api.sloxly.com/v1/Oauth/authorization

Parameters

ParameterRequiredDescription
client_idYesYour OAuth client ID
redirect_uriYesMust match one of your registered redirect URIs

Response

The user will be shown the Sloxly login page. After authentication, they are redirected to your redirect_uri with an authorization code:

Callback URL
https://yoursite.com/callback.php?code=AUTH_CODE_HERE
The authorization code is single-use and expires within 5 minutes.

Example

PHP
$url = "https://api.sloxly.com/v1/Oauth/authorization?" . http_build_query([
    'client_id'    => 'slx_your_client_id',
    'redirect_uri' => 'https://yoursite.com/callback.php',
]);
header("Location: $url");
exit();
← PreviousGetting Started