Skip to main content
POST
Deploy sage (make active)

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: "deploy_sage"
nonce
string
required

WP nonce for sagescreen_frontend_nonce

Example:

"abc123def456"

sage_id
integer
required

WordPress post ID of the council sage

Example:

1234

email_from
string

"From" name for candidate invitation emails

Example:

"Acme Corp HR"

email_from_address
string<email>

"From" email address

Example:

"hr@acmecorp.com"

email_reply_to
string<email>

Reply-to email address

Example:

"hr@acmecorp.com"

email_header
string

Email header text

Example:

"SageScreen Assessment"

email_subject
string

Email subject line

Example:

"Your SageScreen Assessment Invitation"

email_body
string

HTML email body template

Example:

"<p>Dear {candidate_name},</p><p>You have been invited to complete a screening...</p>"

Response

200 - application/json

Deploy result

success
boolean
Example:

true

data
object