Developer Documentation

Overview

Integrate Crestwall security into your stack with RESTful APIs.

Authentication

Use your API key in the header:

Authorization: Bearer 

WAF API

fetch('https://api.crestwall.net/v1/waf/rules', {
  method: 'POST',
  headers: { 'Authorization': 'Bearer xyz' },
  body: JSON.stringify({ rule: 'block_sql_injection' })
});

DDoS Webhooks

Subscribe to real-time threat events.

{
  "event": "ddos_start",
  "target": "example.com",
  "bps": 3800000000,
  "timestamp": "2025-11-24T10:00:00Z"
}

SDK Examples

Available in Python, Node.js, Go, and Rust.