Skip to content
View as Markdown

GET Get Contact Info Widgets​

GET
/subscribers/{id}/info-widgets

Retrieve info widgets for a contact's profile page. Returns top widgets (like commerce stats) and other widgets registered by plugins. Optionally fetches a single specific widget when by_widget is provided.

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password

Type
API Key (header: Authorization)

Parameters​

Path Parameters

id*

The contact ID.

Type
integer
Required

Query Parameters

by_widget

If provided, returns only the specified widget type instead of all widgets.

Type
string

Responses​

Widget data. Shape varies based on whether by_widget is provided.

application/json
JSON
{
"widgets": {
"top_widgets": [
{
"title": "Commerce Stats",
"content": "<div>Total Orders: 5, Revenue: $299</div>"
}
],
"other_widgets": [
],
"widgets_count": 1
}
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI