Skip to Content
BytePanelBytePanel

Create a sign-in link

Send a customer straight into their server without a password.

POST/api/application/servers/{externalId}/login

Creates a one-time link that signs the server's owner in and opens the server. Use it behind a "Control panel" button in your billing system.

curl -X POST https://panel.example.com/api/application/servers/whmcs-1042/login \
  -H "Authorization: Bearer bpnl_..."
200 OK
{
  "url": "https://panel.example.com/api/auth/login-link?token=...",
  "expiresIn": 60
}
FieldTypeDescription
urlstringRedirect the customer here.
expiresInnumberSeconds until the link expires.

Each link works once and expires after 60 seconds, so create it when the customer clicks, not when the page loads.

Errors

StatusWhen
403The owner is staff (an admin or super admin), or banned. Staff must sign in with their password.
404No server has that external ID.
Edit on GitHub

On this page