Extracting multiple widget IDs with API
Copy link to clipboard
Copied
I have several different templates that are used to create agreement forms. When they're returned I use an API call to the Widget ID to extract the form data. Unfortunately when there is an agreement returned for a template that already has an agreement returned Adobe Sign groups them together. Even though they'll have separate agreement IDs when I go to extract the information with my Widget ID it gets the very first agreement, whereas I need the last (most current). I'm asking my support team to set it up so that the forms are separated but is there a way I can 1) get multiple Widget IDs and 2) tell which one is the most recent one?
Copy link to clipboard
Copied
It may be helpful to understand how webform/widgets work.
When a webform is created, what you have is the parent Webform. This parent webform in the API will have a WidgetID (you should be able to get htis ID by opening/viewing the webform and grabbing the ID from the address bar.
When someone goes to the webform and signs it, sign creates a child agreement from this parent, which has it's own AgreementID.
You can use the parent WidgetID with this method:
get /widgets/{widgetId}/agreements
this will return all fully signed child agreements created from this webform.
Note that templae forms and widget/webforms are different things in Sign. You can use a template to create a webform, but then to track any signing data, query the webform as above and not the tempalte/ libraryid
Copy link to clipboard
Copied
It appears that I'm using the correct widget ID to my form but when I try to use that Widget ID to "read" the form it returns the first form ever created from that agreement template. I'm lost as to what to do here.
Copy link to clipboard
Copied
Can you share a widgetID, feel free to message me it.

