API referencePower
Enable Power — register the origin + redirect/root-path config
Registers the origin the edge reverse-proxies to (SSRF-validated) plus the redirect / root-path config the ask answer carries. application_url is required to enable.
AuthorizationBearer <token>
Short-lived widget JWT minted server-side via POST /v1/tokens. Scoped to one application (and optionally one domain).
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/connections/string/power" \ -H "Content-Type: application/json" \ -d '{}'{ "power": { "connection_id": "string", "domain": "string", "origin": "string", "powered": true, "www_redirect": true, "redirect_to": "string", "root_path_access": [ "string" ] }}{ "code": "string", "title": "string", "details": "string"}{ "code": "string", "title": "string", "details": "string"}{ "code": "string", "title": "string", "details": "string"}{ "code": "string", "title": "string", "details": "string"}