Example data widget with a link button integration field.

This webhook is queried to determine the appearance of the sidebar data widget of sent proposals. It is useful if you want to display integration specific data, or add links to external locations.

The layout is built up of a list of integration fields.

The POST request will contain this in its body:

Content Details Request
{
  type: 'proposal.dataWidget';
  integration: IntegrationSessionData;
  proposal: Proposal;
}

The response needs to be in the following shape.

{
  data: {
    fields: IntegrationField[]
  }
}

Take notice that input fields will not modify any data, this widget is only meant to contain read only fields.