API
Manage redirects, domains, and team quota with a JSON REST API. Create a bearer token from the dashboard API tab.
Authentication
Authorization: Bearer rt_YOUR_TOKENBase URL
https://www.redirectiontool.com/api/v1Endpoints
GET /redirects— list redirectsPOST /redirects— create a redirectGET /redirects/:id— show a redirectPUT /redirects/:id— update a redirectDELETE /redirects/:id— delete a redirectGET /domains— list hostnamesGET /team— team plan & quota
Create redirect
curl -X POST https://www.redirectiontool.com/api/v1/redirects \
-H "Authorization: Bearer rt_..." \
-H "Content-Type: application/json" \
-d '{
"sources": ["old.example.com"],
"destination": "https://new.example.com",
"redirect_code": 301,
"forward_path": true,
"forward_query": true
}'