How to Use
POST /api/auth
Authorize a IPv4 Address
This endpoint allows you to authorize a IPv4 IP address to secure your script and prevent leaking.
🔐 Headers
Name | Type | Required | Description |
---|---|---|---|
customer_id | string | No | Your customer ID to authorize you as a customer. |
script_id | string | Yes | Your script ID to authorize the specific script. |
✅ Response 200 OK
{
"name": "SUCCESSFUL_AUTHENTIFICATION",
"message": "Authentication was successful. Thanks for using <SCRIPT-NAME>!",
"IPv4": "<IPv4-ADDRESS>",
"links": [
{
"docs": "https://docs.viority.eu/script-lock",
"support": "https://discord.gg/323HfHyGW4"
}
]
}
❌ Response 401 Unauthorized
{
"name": "UNAUTHORIZED_AUTHENTIFICATION",
"message": "<REASON>",
"IPv4": "<IPv4-ADDRESS>",
"links": [
{
"docs": "https://docs.viority.eu/script-lock",
"support": "https://discord.gg/323HfHyGW4"
}
]
}
❌ Response 429 Too Many Requests
You have requested our API too many times in a short time! This is a part or our security system to prevent a DDos attack. First your requests will be slowed down, then you will be completely locked out!
Too many requests, please try again later.