Documentation / API Request Format / Timezone and Date Formats

Timezone and Date Formats

Timezone And Date Formats conventions for PanelConfig API requests.

JSON responses use timestamps from the database and the response envelope uses gmdate('c'), which produces an ISO-8601 UTC timestamp. Store and compare timestamps as UTC in integrations.

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 429 by 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.

← Sorting