curl -X POST https://xenarch.dev/v1/publishers/login \
-H "Content-Type: application/json" \
-d '{"email": "publisher@example.com", "password": "secure_password"}'
{
"api_key": "xk_pub_new_key..."
}
Publishers
Login
Authenticate as a Xenarch publisher and rotate API key — receive a new key that invalidates the previous one. Rate-limited 5 requests per minute per IP.
POST
/
v1
/
publishers
/
login
curl -X POST https://xenarch.dev/v1/publishers/login \
-H "Content-Type: application/json" \
-d '{"email": "publisher@example.com", "password": "secure_password"}'
{
"api_key": "xk_pub_new_key..."
}
curl -X POST https://xenarch.dev/v1/publishers/login \
-H "Content-Type: application/json" \
-d '{"email": "publisher@example.com", "password": "secure_password"}'
{
"api_key": "xk_pub_new_key..."
}
Notes
- Rotates the API key — the previous key is invalidated immediately
- Rate limited: 5 requests/min per IP, 5 attempts then 15-minute lockout