Skip to main content
POST
List users for a council

Authorizations

nonce
string
query
required

WordPress AJAX nonce (passed as form field, verified per-action)

Body

application/x-www-form-urlencoded
action
string
required
Allowed value: "sagescreen_get_council_users"
nonce
string
required

WP nonce (sagescreen_ajax_nonce or sagescreen_frontend_nonce)

council_id
string<uuid>

Council UUID (optional — non-admins restricted to own council)

Example:

"c9d8e7f6-5a4b-3c2d-1e0f-a1b2c3d4e5f6"

Response

200 - application/json

Council users list

success
boolean
data
object[]
count
integer

Number of users returned

Example:

5

message
string
Example:

"Council users retrieved successfully"