Widgets
This document lays out the specification of interacting with the Qgiv Widgets system, allowing for reading widgets.
GET : https://secure.qgiv.com/admin/api/widgets/list
Returns all custom widgets associated with the current form or organization
<widgets>
<widget id="1234">
<form>2</form>
<elementType>4</elementType>
<elementId>1770</elementId>
<settings>
<object>1</object>
</settings>
<url>https://give.qgiv.com</url>
<height>800</height>
<width>500</width>
</widget>
</widgets>{
"widget": [
{
"form": "2",
"elementType": "4",
"elementId": "1770",
"settings": {
"object": "1"
},
"url": "https://give.qgiv.com",
"height": "800",
"width": "500",
"id": "1234"
},
...
}GET : /widgets/[id]
Returns the custom widget requested, individually specified by ID.
<widget id="1234">
<form>2</form>
<elementType>4</elementType>
<elementId>1770</elementId>
<settings>
<object>1</object>
</settings>
<url>https://give.qgiv.com</url>
<height>800</height>
<width>500</width>
</widget>{
"form": "2",
"elementType": "4",
"elementId": "1770",
"settings": {
"object": "1"
},
"url": "https://give.qgiv.com",
"height": "800",
"width": "500",
"id": "1234"
}* denotes a required field
** denotes a required field based on Event settings
*** denotes a field that is only required when submitting Form level API credentials