Generate Widget Session
POST
https://api.prestatech.com/workflow/sbx/v1/widget-iframeStart a widget session for an agent. Returns a ready-to-embed iFrame URL and a token you can pass to the SDK. Call this from your backend once per applicant, then embed the widget.
Recent Requests
TimeStatusUser Agent
Make a request to see history.
0 Requests This Month🔑 Log in to see full request history
Body Params
AgentWorkflowIdstringrequiredThe Agent ID to run (from the portal).
accountHolderstringrequiredThe applicant's name.
vatNumberstringThe applicant's VAT / tax number (optional).
localestringUI language for the widget.
enitde
Headers
Ocp-Apim-Subscription-KeystringrequiredYour environment's subscription key
AuthorizationstringrequiredBearer access token from the OAuth endpoint.
Responses
Request Example
Examples
curl --request POST \
--url 'https://api.prestatech.com/workflow/sbx/v1/widget-iframe' \
--header 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"AgentWorkflowId": "your_AgentWorkflowId",
"accountHolder": "your_accountHolder",
"vatNumber": "your_vatNumber",
"locale": "your_locale"
}'Updated July 2026