Path Parameters
Path Parameters conventions for PanelConfig API requests.
Current route files are collection-style PHP files and do not implement nested path parameters such as /accounts/{id}. Planned endpoint references should not be used as live routes.
Request
curl -s https://panel.example.com/api/v1/domains.php \
-H "Authorization: Bearer pc_YOUR_TOKEN" \
-H "Accept: application/json"Notes
- Use HTTPS only.
- Keep tokens out of URLs.
- Handle
429by backing off instead of looping. - Treat undocumented filters or routes as unavailable until they exist in source.
Related
If a request works in cURL but not in your application, compare headers, TLS verification, proxy behavior, and whether the web server forwards Authorization to PHP.