Documentation/API/Websites API

Websites API

Manage websites programmatically via the API.

List Websites

GET/api/v1/websites
curl -X GET "https://api.redirectflow.io/v1/websites" \
  -H "Authorization: Bearer YOUR_API_KEY"

Get Website

GET/api/v1/websites/:id
curl -X GET "https://api.redirectflow.io/v1/websites/abc123" \
  -H "Authorization: Bearer YOUR_API_KEY"

Create Website

POST/api/v1/websites
curl -X POST "https://api.redirectflow.io/v1/websites" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My Website",
    "production_domain": "example.com",
    "target_domain": "example.com"
  }'