Skip to main content
POST
Create or invite a user to 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_create_council_user"
nonce
string
required

WP nonce for sagescreen_ajax_nonce or sagescreen_frontend_nonce

first_name
string
required
Example:

"John"

last_name
string
required
Example:

"Doe"

email
string<email>
required
Example:

"john@example.com"

role
enum<string>
required

Assignable council-level roles

Available options:
council_admin,
council_power_user,
council_member
phone
string

Validated for uniqueness

Example:

"+15551234567"

linkedin
string<uri>
Example:

"https://linkedin.com/in/johndoe"

whatsapp
string
Example:

"+15551234567"

Response

200 - application/json

Creation / invitation result

success
boolean
message
string
Example:

"User created successfully. Verification email sent to john@example.com"

data
object