hosting

GET /v1/sites/{siteId}/wordpress/users

List the accounts on a site's WordPress.

All hosting endpoints

Authentication

Send an API key as a bearer token. The key must carry the sites.panel_access permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/wordpress/users \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

Every WordPress account on the install, with its roles and whether it is an administrator. ⛔ **This read requires `sites.panel_access`, unlike every other read on this surface**: it carries the email address of every account on the customer's site — personal data about the customer's own users — which a read-only member of the organisation has no reason to hold. The rows come from two vendor endpoints behind two different capability flags (`wp_users` and `wp_admin_users`), and what the package permits decides which halves are merged. `is_administrator` is set from the endpoint a row came from, not guessed from a role string. `404` for a site with no vendor hosting package.

Parameters

NameTypeRequiredWhat it is
siteId (path)UuidYesSite ID (UUIDv7).

Response

NameTypeRequiredWhat it is
dataSiteWordPressUser[]YesThe accounts, merged from the two vendor endpoints the package permits. A package carrying only one of the two flags yields only that half, rather than a refusal for the whole l…

Errors this endpoint can return

401 · 403 · 404 · 429 · 503