Documentation / API Integration Workflows / Custom Provider Portal Workflow

Custom Provider Portal Workflow

Custom Provider Portal Workflow for provider and automation teams.

Goal

A custom provider portal can use API reads to show accounts, usage, domains, SSL, backups, and security state without giving staff direct database access.

API Areas

  • Token authentication and request logging.
  • Read endpoints for the specific resource family.
  • Role-aware tokens for provider-only resources.
  • Backoff behavior for rate limits.

Sequence

curl -s https://panel.example.com/api/v1/me.php \
  -H "Authorization: Bearer pc_YOUR_TOKEN"

curl -s https://panel.example.com/api/v1/accounts.php \
  -H "Authorization: Bearer pc_YOUR_TOKEN"

curl -s https://panel.example.com/api/v1/jobs.php \
  -H "Authorization: Bearer pc_YOUR_TOKEN"

Safety

  • Start read-only.
  • Use staging first.
  • Use separate tokens per integration.
  • Document write workflow guidance separately.
  • Review request logs during the first production week.

Failures

  • Token expired or user disabled.
  • Integration uses a non-admin token for admin-only data.
  • Polling too frequently and receiving 429.
  • Expecting planned write endpoints that are not present in source.
← CI CD Deployment Workflow