GET
/
api
/
{authType}
/
auth
curl --request GET \
  --url https://admin.snagsolutions.io/api/{authType}/auth \
  --header 'X-API-KEY: <api-key>'
{
  "url": "https://example.com"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

authType
enum<string>
required
Available options:
twitter,
discord,
telegram,
epic,
steam

Query Parameters

websiteId
string

The ID of the website

Example:

"123e4567-e89b-12d3-a456-426614174000"

userId
string

The ID of the user

Example:

"123e4567-e89b-12d3-a456-426614174001"

redirect
string

The redirect URL where the user will land after completing the auth

Example:

"https://example.com"

responseType
enum<string>
default:redirect

The type of response to return

Available options:
redirect,
json
Example:

"redirect"

Response

200
application/json
200
url
string
required

The URL to redirect to

Example:

"https://example.com"