PBN.LTD API docs
View as Markdown

Scopes

A scoped key can do only what its scopes allow. A :write scope includes the :read scope of the same area. Full-access keys have every scope. The scope each endpoint needs is shown on its reference entry.

ScopeAreaAllows
account:readAccountProfile, plan, site slots, limits and usage, frozen state and why.
account:writeAccountRefresh usage measurements.
billing:readBillingSubscription status, payment due, invoices and invoice PDFs, add-ons.
sites:readSitesList and read sites: status, nameservers, CDN, indexation, SEO, platform, usage, health.
sites:writeSitesCreate sites, change settings and PHP version, purge cache, reinstall, recheck health, run Site Cleaner.
sites:deleteSitesDelete sites (kept separate on purpose).
sites:loginSitesOne-click admin login links (WordPress, Joomla, Drupal and the other applications).
dns:readDNSRead DNS records and nameserver status.
dns:writeDNSAdd, change and delete DNS records.
backups:readBackupsList backups and get download links.
backups:writeBackupsCreate backups, restore a backup, delete a backup.
files:readFilesList folders and read files of a site.
files:writeFilesUpload, create folders, rename and delete files of a site.
logs:readLogsError log and access log of a site.
tickets:readSupportRead your support tickets.
tickets:writeSupportOpen tickets and reply to them.
content:readContentRead posts, pages and the auto-posting campaigns of the account.
content:writeContentPublish and change posts and pages on any site type, upload pictures, and start or pause auto-posting campaigns.
kb:readKnowledge baseSearch the knowledge base (needs no scope; listed for completeness).

A call without the scope gets 403 scope_missing, with details.required naming the scope it needs. Jobs (GET /jobs) need account:read; the knowledge base and GET /limits work with any key.