Integrate TWIXX into your own applications. Manage scripts, generate keys, and verify access programmatically.
Low-latency API responses with 99.9% uptime guarantee.
API tokens with granular permissions and optional expiry.
RESTful API with JSON responses. Works with any language.
Sign in to manage API keys
Sign InInclude your API key in the request header:
Or use the X-API-Key header.
/api/v1/scriptsAuth RequiredList all your scripts
{
"success": true,
"data": [
{
"id": "uuid",
"script_id": "abc123",
"script_name": "My Script",
"description": "...",
"is_active": true,
"created_at": "2025-01-01T00:00:00Z"
}
],
"meta": { "count": 1 }
}/api/v1/keysAuth RequiredList all keys for your scripts
| Name | Type | Required | Description |
|---|---|---|---|
| script_id | string | No | Filter by script ID |
{
"success": true,
"data": [
{
"id": "uuid",
"key": "XXXX-XXXX-XXXX-XXXX",
"hwid": null,
"script_id": "abc123",
"expires_at": "2025-01-02T00:00:00Z",
"is_active": true,
"total_uses": 5
}
]
}/api/v1/keysAuth RequiredCreate a new key
| Name | Type | Required | Description |
|---|---|---|---|
| script_id | string | Yes | The script ID to create the key for |
| duration_hours | number | No | Key duration in hours (default: 24) |
| hwid | string | No | Pre-bind to a specific HWID |
| notes | string | No | Optional notes |
{
"success": true,
"data": {
"id": "uuid",
"key": "XXXX-XXXX-XXXX-XXXX",
"script_id": "abc123",
"expires_at": "2025-01-02T00:00:00Z"
}
}/api/v1/keysAuth RequiredRevoke a key
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | The key ID to revoke |
{ "success": true }/api/v1/verifyVerify a key (can be used without auth for basic verification)
| Name | Type | Required | Description |
|---|---|---|---|
| key | string | Yes | The key to verify |
| hwid | string | No | Device HWID for binding |
| script_id | string | No | Specific script ID to verify against |
{
"valid": true,
"data": {
"key_id": "uuid",
"script_id": "abc123",
"expires_at": "2025-01-02T00:00:00Z",
"hwid_locked": false
}
}curl -X GET "https://twixxhub.com/api/v1/scripts" \ -H "Authorization: Bearer twx_your_api_key"
const response = await fetch("https://twixxhub.com/api/v1/scripts", {
headers: {
"Authorization": "Bearer twx_your_api_key"
}
});
const data = await response.json();import requests
response = requests.get(
"https://twixxhub.com/api/v1/scripts",
headers={"Authorization": "Bearer twx_your_api_key"}
)
data = response.json()