User APIs
Replace:
YOUR_API_KEY
with your personal API key.DOMAIN_ID
,ZONE_ID
, etc. with real values from your account.
Get Your User Profile
curl -X GET "https://dashboard.datahorders.org/api/me" \
-H "x-api-key: YOUR_API_KEY"
List Your Domains
curl -X GET "https://dashboard.datahorders.org/api/v1/domains" \
-H "x-api-key: YOUR_API_KEY"
Add a Domain
curl -X POST "https://dashboard.datahorders.org/api/v1/domains" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"domain": "example.com"}'
Delete a Domain
curl -X DELETE "https://dashboard.datahorders.org/api/v1/domains?id=DOMAIN_ID" \
-H "x-api-key: YOUR_API_KEY"
Verify a Domain
curl -X POST "https://dashboard.datahorders.org/api/v1/domains/verify" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"domain": "example.com"}'
List Your Zones
curl -X GET "https://dashboard.datahorders.org/api/v1/zones" \
-H "x-api-key: YOUR_API_KEY"
Create a Zone (Simple)
curl -X POST "https://dashboard.datahorders.org/api/v1/zones" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"input": "emby.example.com 10.0.0.5 8096 http"}'
Delete a Zone
curl -X DELETE "https://dashboard.datahorders.org/api/v1/zones?fqdn=emby.example.com" \
-H "x-api-key: YOUR_API_KEY"
List Your Certificates
curl -X GET "https://dashboard.datahorders.org/api/v1/certificates" \
-H "x-api-key: YOUR_API_KEY"
Upload a Certificate (Manual)
curl -X POST "https://dashboard.datahorders.org/api/v1/certificates" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"name": "My Certificate",
"domains": ["example.com", "*.example.com"],
"provider": "manual",
"certContent": "-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----",
"keyContent": "-----BEGIN PRIVATE KEY-----...-----END PRIVATE KEY-----"
}'
Tip:
- For all requests, you must include your API key in the
x-api-key
header. - For POST/PUT requests, use
-H "Content-Type: application/json"
and provide a valid JSON body.