API reference
Every endpoint of the WP Waterfall API with its parameters, request body, responses, and the scope each one needs.
Base URL: https://api.wpwaterfall.com/v1. Send an API key as Authorization: Bearer wpw_live_.... Paths in the reference are relative to the base URL. Spec version 0.8.0.
567 operations in 62 groups.
Me
- getValidate the current API key
- getCurrent user
- patchUpdate current user
- deleteRevoke a session
- getTell whether the session confirmed it is the person recently
- postConfirm the password for a sensitive action
- postConfirm with a passkey for a sensitive action
- postStart confirming with a passkey
- postSwitch the active workspace (an individual account or an agency)
Companies
- postCreate a business (an individual account only)
- getCurrent company
- patchUpdate current company
- postRecord an ad conversion once per company
- postClose a business. Owner only, with the business name typed to confirm
- putTurn Nami AI's access to site content on or off
- getRead the pending ownership transfer
- deleteCancel the pending ownership transfer
- postStart handing the company to an Admin
- postAccept ownership of a company
- postSee what an ownership link offers
Members
Invitations
SSO
- getGet the SAML connection
- putCreate or replace the SAML connection
- patchChange SSO settings
- deleteRemove the SAML connection
- postAdd a signing certificate (rotation)
- deleteRemove a signing certificate
- getWhat the identity provider needs from WP Waterfall
- postTest the connection
- postCheck the DNS record that proves the domains
Activity
Health
Status
Pricing
Referral invite
Pay
Data rights
- deleteDelete the company after a 30 day grace period
- getThe newest export of the company data
- postRequest an export of the company data
- postGet a short lived download link for the company export
- postConfirm erasing the business now
- postAsk to erase the business now and email a confirmation link
- postSee what erasing the business now does
- getCompanies you own that are waiting to be deleted
- postUndo the deletion of a company you own
- getThe newest export of your own data
- postRequest an export of your own data
- postGet a short lived download link for your own export
- postConfirm deleting your account
- getWhere you are on deleting your account
- postAsk to delete your account and email a confirmation link
- deleteCancel the confirmation link
- postSee what deleting your account removes
Assistant
Sandbox
Transfers
- postStart moving a DNS zone to another company
- getOne DNS zone transfer
- postAccept a DNS zone transfer
- getSite transfers waiting for you
- getYour other accounts that can take a site
- getOne site transfer
- deleteCancel an open site transfer
- postAccept a site transfer
- postDecline a site transfer
- postRun a stopped site transfer again
- getThe open transfer of a site
- postStart moving a site to another company
Company add-ons
Dedicated nodes
Sign in
- postStart a passkey sign-in or second step
- postFinish a passkey sign-in or second step
- postEmail a password reset link
- postChoose a new password with a reset link
- getWhich sign-in methods the server offers
- postSign in with an email and a password
- postCreate an account with a password
- postStart sign-in with Google or GitHub
- postFind out whether an email domain signs in through a company
- postStart company single sign-on
- postEmail a sign-in code
- postAnswer the second step of sign-in
- postConfirm an email address with the emailed link
- postSend the verification email again
Account security
- postStop an account recovery change with the emailed link
- postReport a bug from the dashboard
- getGoogle and GitHub sign-in connections
- deleteUnlink Google or GitHub
- postStart linking Google or GitHub
- getThe signed identity for the Nami chat
- getList passkeys
- postFinish adding a passkey
- postStart adding a passkey
- patchRename a passkey
- postChange the password, or create one
- postSkip the prompt to create a password
- getPassword, two-factor, and connection state
- getRecent sign-ins and security changes
- postEmail a code to add a first password or passkey
- postSecure my account
- getList sign-in sessions
- deleteSign out every other session
- getList trusted browsers
- deleteForget every trusted browser
- deleteForget one trusted browser
- postTurn off a two-factor method, or all of them
- postStart emailed sign-in codes
- postEmail a code to confirm a two-factor change
- postFinish emailed sign-in codes
- postMake ten new recovery codes
- postStart the authenticator app setup
- postFinish the authenticator app setup
API keys
Platform
Regions
Nodes
Sites
- getList sites
- postCreate a site
- getCheck whether a site name is free
- getGet a site
- patchRename a site or change its labels
- deleteDelete a site
- getActivity for one site
- getList a site's environments
- getList the people who belong to a site
- postGive a company member access to a site
- patchChange a site member's role
- deleteRemove a person from one site
- putSet PHP performance for the live environment
- getCheck what a rename does to the custom domains
- postReset a site
Environments
- getGet an environment
- patchChange the PHP version
- deleteDelete a preview environment
- postClone content into a preview environment
- postTurn an additional preview environment into an included one
- postCopy staging or a preview into live
- getPreview a copy of staging or a preview into live
- getReveal database credentials
- postRotate SFTP or database credentials
- getReveal SFTP credentials
- getRead the WordPress Multisite network
- putSet PHP threads and memory
- postResume a suspended environment
- putTurn Sleep when idle on or off
- postAdd an SSH key
- deleteRemove an SSH key
- postSuspend an environment
- getRead the uptime of the data center an environment runs in
- getList the known vulnerabilities of an environment
- getRead where vulnerability protection stands on an environment
- postWake up a sleeping environment
- putServe the site from a subfolder
- getWhether WordPress is installed
- postCheck for WordPress again
- postCreate a staging or preview environment
- getWhether the next preview environment needs a slot
- getThe environment switcher: live, staging, and the rest
- postLaunch live from staging
- postPromote staging to live
- getPreview a promote from staging to live
Tools
- getRead the latest integrity check of an environment
- postCheck the files of an environment against the official copies
- getList what the malware scanner found in an environment
- postScan the new and changed files and the database of an environment for malware now
- postClear the server cache
- putChange PHP settings
- postRestart PHP
- postSearch and replace in the database
- patchChange tool settings
- putChange speed optimizations
- putTurn the Monitor's uptime checks on or off
- postRun an allowlisted WP-CLI command
- postSay a malware finding is wrong
Files
Database
Logs
Cron
Jobs
Bulk actions
Labels
Notifications
Saved views
Code
- getBuild log
- getList builds
- putSwitch between Git and classic mode
- postCommit the working tree changes of staging or a preview to its branch
- putSwitch a staging or preview environment between SFTP mode and Git mode
- postDeploy a commit to staging or a preview
- getList environment variables
- putSet an environment variable
- deleteDelete an environment variable
- getHow code reaches an environment: its connection mode, the WP Waterfall remote, and a connected repository
- postCheck for pushes to the WP Waterfall remote and apply them
- postPull now from the connected repository
- putChoose the remote branch a preview environment follows
- postTurn on Git over SSH for a staging or preview environment
- getList the HTTPS Git access tokens of an environment
- postMake an HTTPS Git access token for a staging or preview environment
- deleteRevoke an HTTPS Git access token
- postMerge this environment's branch into another branch
- getCheck a merge for conflicts
- getUncommitted changes of a staging or preview working tree
- getThe line by line diff of a working tree, before a commit
- postPull the branch head into a staging or preview working tree
- postActivate a release
- getList repository branches
- getList commits
- getRead a commit with its diff
- getThe external repository of a site, its environments, and the unlinked remote branches
- putConnect an external Git repository to a site
- patchTurn automatic branch creation on or off
- deleteDisconnect the external repository from a site
- postMake or show the site's deploy key for a connected repository
- postCreate a preview environment for an unlinked remote branch
- postStop listing an unlinked remote branch
- postMake a new webhook secret for the connected repository
- getList releases
- getRepository and clone commands
SSH and SFTP
- getSettings for running the environment on a developer's computer
- postRecord a pull to a developer's computer and plan it
- postRecord a push from a developer's computer and plan it
- getList extra SFTP accounts
- postAdd an SFTP account
- putSwitch SFTP on or off
- getSSH settings
- patchChange SSH settings
- getAllowed IP addresses
- putSet allowed IP addresses
- getConnection commands
- deleteRemove an SFTP account
- getList the SSH keys of your account
- postAdd an SSH key to your account
- deleteRemove an SSH key from your account
WordPress users
- getList the super administrators of a WordPress network
- getList WordPress sign-ins
- getGet the WordPress login address
- getList WordPress users
- postCreate a WordPress user
- patchChange the role of a WordPress user
- deleteDelete a WordPress user
- postEmail a password reset link to a WordPress user
- putGrant or remove super administrator rights
Backups
- deleteDelete a backup
- postPrepare a backup download
- postClaim a backup download link
- postRestore a snapshot
- postGet a fresh download link for a downloadable backup
- getRead the backup schedule and retention
- putChange the backup schedule and retention
- putChange how often the Hourly backups add-on backs up
- getList snapshots of an environment
- postTake a manual snapshot
- getList the downloadable backups of an environment
- postMake a downloadable backup
- postBack up an environment to the site's bucket now
- getRead the site's off-site backup connection, runs, and snapshots
- putConnect the site's own bucket for off-site backups
- patchPause the daily off-site backup or change its retention
- deleteRemove the site's off-site backup connection
- postRestore an off-site snapshot into staging or a preview
- postRead the snapshot list from the bucket again
- postTest the off-site backup connection
Plugins and themes
- getRead the automatic updates and Safe Updates state of an environment
- putChange the Safe Updates and deploy settings of an environment
- postApply one held back update anyway
- getA short-lived link to a picture from the last Safe Updates run
- postPreview the visual regression test of one page
- getThe pages Safe Updates recommends testing
- postRun automatic updates on an environment now
- getList the plugins on the site
- putTurn automatic updates on or off for every plugin
- postChange several plugins at once
- postRead the plugins from the site again
- getOne plugin
- deleteDelete a plugin
- postActivate a plugin
- putTurn automatic updates on or off for a plugin
- postDeactivate a plugin
- postUpdate a plugin
- getList the themes on the site
- putTurn automatic updates on or off for every theme
- postChange several themes at once
- postRead the themes from the site again
- getOne theme
- deleteDelete a theme
- postActivate a theme
- putTurn automatic updates on or off for a theme
- postDisable a theme for the network
- postUpdate a theme
- postApprove a run that waits for your confirmation
- postTurn down a run that waits for your confirmation
Domains
- getGet a domain
- patchChange Force HTTPS or the setup mode
- deleteRemove a domain
- getGet the custom SSL certificate of a domain
- putInstall your own SSL certificate on a domain
- deleteRemove the custom SSL certificate
- postMake a domain primary
- getThe records to set for a domain
- postCheck DNS now
- getList the custom SSL certificates of an environment
- getList the domains of an environment
- postAdd a domain
- deleteRemove several domains
- postRefresh SSL for a domain or the temporary domain
DNS
- getList Cloudflare DNS zones
- postCreate a Cloudflare DNS zone
- getGet a zone
- deleteDelete a zone
- postCheck the nameservers
- postAdopt a zone that already exists in WP Waterfall's Cloudflare account
- getThe custom nameserver request for a zone
- postRequest custom nameservers
- getList records
- postAdd a record
- postRefresh records from Cloudflare
- patchChange a record
- deleteDelete a record
- postSet up a zone again after it failed
- getList zone snapshots
- postSave a snapshot of the zone now
- deleteDelete a snapshot
- postRoll the zone back to a snapshot
Caching
- getCache settings
- putChange cache settings
- getSize of the options WordPress loads on every request
- postPurge the edge and server caches
- getPurge history for an environment
- getThe scheduled cache purge of an environment
- putSet the scheduled cache purge of an environment
- getCache hits, misses, and hit ratio
- getCDN settings
- putChange image optimization and the files excluded from the CDN
- postPurge static assets at the edge
- getForce HTTPS and geolocation
- putChange Force HTTPS or geolocation
- putTurn mobile cache on or off
Redirects
IP deny
Bot protection
Analytics
Monitor
- putStart or stop collecting performance data
- getPerformance summary: throughput, average and p95 response time, error rate, and the time chart
- getThe WordPress, Database, and External tables: slowest plugins, hooks, queries, outside calls, and Redis calls
- getWhether performance data is being collected, whether Monitor's performance part is on, and the mode
- getOne URL group: its breakdown, chart, histogram, and slowest requests
- getThe transactions table: one row per URL group
- getWhat PHP-FPM really runs with, read back from the node
- putTurn Monitor's performance part on or off
- getRead the Lighthouse results of a site's live address
- postStart a Lighthouse test of the live site
- getRead one Lighthouse test
Push
Add-ons
- getRead the Enterprise Support of the company
- postTurn on Enterprise Support
- deleteTurn off the Enterprise Support add-on
- getRead the Standby Failover state of a site
- postFail back to the home server, or swap the roles
- getRead the measured uptime of a site
- postAsk WP Waterfall to add a contact us add-on to a site
- getSite add-ons, their prices, and whether each is on
- postTurn off a self-serve add-on
- postTurn off an add-on for a site
- postTurn on an add-on for a site
- postBuy or change a self-serve add-on
- postRetry the node work of a self-serve add-on
- getThe live state of the Redis object cache
Billing
- getThe add-on catalog
- getThe additional preview slots of the company and what they cost so far
- putSet how many additional preview slots the company holds
- postCancel the plan
- getBilling name, email, address, and tax id
- putUpdate billing name, email, address, and tax id
- getList invoices
- getOne invoice, as the invoice page shows it
- getOpen an invoice PDF
- getPrice, tax, and total for a plan before it starts
- getThe plans and site tiers on sale
- getList saved cards
- postRegister a confirmed card
- deleteRemove a card
- postMake a card the default
- getThe recurring charges, line by line
- postStart adding a card
- getList the subscriptions on the company with their site licenses
- postBuy a plan with a saved card
- postCancel one subscription
- getWhat cancelling one plan would refund, before it happens
- putAdd or remove site licenses, or change the term, on one subscription
- getWhat adding or removing site licenses, or changing the term, would do
- getThe company's main plan, entitlements, add-ons, and usage
- getUsage this period against the plan
- getThe company's add-ons
- postBuy an add-on
- getThe add-ons the company holds, grouped, with where each is used
- deleteRemove an add-on
- getThe company's dedicated server
- postCancel the dedicated server
- postMove sites from the dedicated server back to shared hosting
- getThe price of each dedicated server size in a region
- deleteCancel the open dedicated server request
- postAsk staff for a different dedicated server size
- putMove one site to another tier
- getWhat moving one site to another tier would do
Webhooks
- getGet a delivery with its attempts
- postRedeliver an event
- getList webhook endpoints
- postCreate a webhook endpoint
- getThe event catalog
- getGet a webhook endpoint
- patchChange a webhook endpoint
- deleteDelete a webhook endpoint
- getThe delivery log of an endpoint
- postRotate the signing secret
- postSend a test event
Promo codes
Referrals
Connections
Nami assistant
- getRead whether the person approved the Nami assistant
- postApprove the Nami assistant to act as the person
- deleteTurn the Nami assistant off
- getList the person's Nami chats
- postStart a Nami chat
- getRead a Nami chat with its messages
- patchRename a Nami chat
- deleteDelete a Nami chat
- postConfirm or cancel a change Nami asked about
- postSend a message to Nami and stream the answer
- getRead where the account is on the guided start
- putSkip the guided start
- putReturn to the guided start
- getList the company's connected Google accounts
- postStart connecting a Google account for a tool
- deleteDisconnect a Google account
- getRead a site's Google Analytics tool
- putTurn Google Analytics on for a site and choose its property
- getRead a site's Google Analytics traffic
- getRead a site's Google Search Console tool
- putTurn Google Search Console on for a site and choose its property
- getRead how a site does in Google search
Migrations
- getList the company's migrations
- postMigrate an existing site to a new WP Waterfall site
- getWhat a migration costs and allows
- getRead one migration
- patchChange whether the import starts by itself
- postAccept the migrated site
- postCancel a migration
- postPay WP Waterfall to clean a backup with malware
- postSay the migrated site is not right
- postSay the malware check is wrong
- postSend a note to WP Waterfall support
- postJump the queue
- putReplace the backup link
Audit log
Accessibility
- getRead the Accessibility add-on of a site
- putChange the pages per scan and the weekly scan of a site
- postTurn the Accessibility add-on off for a site
- postTurn the Accessibility add-on on for a site
- getList the pages a scan will take
- postAdd pages to the page list
- postFind the pages of the live site again
- deleteRemove a page from the page list
- getList the accessibility scans of a site
- postScan the live site for accessibility issues
- getRead one accessibility scan
- getExport the report or the issue list
- getList the issues of a scan with their selectors
- getList the pages of a scan with their scores
- getGet a short lived link to the picture of a scanned page
- getList the failing rules of a scan