Skip to main content
POST
Request widget URL
Get an embeddable URL for integrating a widget into your website or app. The URL expires after ten minutes or upon first use, whichever occurs first. You’ll need to obtain a new URL each time the page loads or reloads. Include the widget_type in the request body to specify which widget you want to embed—the Connect Widget, a Personal Financial Management widget, or an Insights widget. Some request parameters are specific to certain widget types. To embed the Connect Widget, set widget_type to connect_widget. For a full list of available widget types, see Widget Types.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

Accept-Language
string

The desired language of the widget.

X-CALLBACK-PAYLOAD
string

The base64 encoded string defined in this header will be returned in the Member and Member Data Updated webhooks. This allows you to trace user interactions and workflows initiated externally and internally in the MX Platform. Max 1024 characters.

Path Parameters

user_guid
string
required

The unique identifier for a user, beginning with the prefix USR-.

Body

application/json

The widget url configuration options.

widget_url
object

Response

200 - application/vnd.mx.api.v1+json

OK

widget_url
object