POST
/v1/mgmt/widgetAuthorization
Descope Project ID and Management Key AuthorizationBearer <token>
Project ID:Management Key as bearer token.
In: header
Request Body
application/json
widgetId*string
Length
1 <= length <= 254metadata*object
screens?array<ExportedWidgetScreen>
flows?array<ExportedFlow>
Create or update a single widget and its embedded flows from the exported representation, remapping any connector and role references to matching entities in the project, using a valid management key.
curl -X POST "https://api.descope.com/v1/mgmt/widget" \ -H "Content-Type: application/json" \ -d '{ "widgetId": "string", "metadata": { "name": "string" } }' Was this helpful?
Set Tenant Theme POST
Create or replace the styles a tenant overrides the project theme with, using a valid management key. The styles document replaces the tenant's stored one whole, and the stored theme is returned. A logo must be given as a base64 data URI; it is published to this tenant's own CDN object and never overwrites the project's or another tenant's.
Generate JWT for Sign-In POST
Generate a JWT for an existing user, using a valid management key.