Skip to main content
POST
Get the current demo key for a sage

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

WP nonce for sagescreen_admin_nonce

sage_id
integer
required

Post ID of ss_council_sage

Example:

101

Response

200 - application/json

Demo key info

success
boolean
demo_key
string
Example:

"a1b2c3d4e5f67890"

demo_url
string
Example:

"https://api.sagescreen.app/screen/demo/a1b2c3d4e5f67890"

has_demo_key
boolean
Example:

true