Quick Start

Get up and running with Auth & Security Toolkit API in under a minute.

Quick Start

Get started with the Auth & Security Toolkit API in minutes.

1. Get Your API Key

Sign up and subscribe at RapidAPI to get your API key.

2. Make Your First Request

curl

curl -X GET "https://auth.toolkitapi.io/v1/auth/generate-key?type=api-key&length=32" \
  -H "X-API-Key: YOUR_KEY"

Python

import httpx

response = httpx.get(
    "https://auth.toolkitapi.io/v1/auth/generate-key",
    params={"type": "api-key", "length": 32},
    headers={"X-API-Key": "YOUR_KEY"},
)
print(response.json())

JavaScript

const response = await fetch(
  "https://auth.toolkitapi.io/v1/auth/generate-key?type=api-key&length=32",
  { headers: { "X-API-Key": "YOUR_KEY" } }
);
const data = await response.json();
console.log(data);

3. Explore the Response

{
  "type": "api-key",
  "length": 32,
  "key": "tk_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
}

4. Next Steps