Update Lead Capture Customizations
update_lead_capture_customizationsSet or update a single lead-capture provider for a Wistia video, selecting Wistia, HubSpot, Marketo, or Pardot and applying provider-specific form settings.
Instructions
Configures a single lead-capture provider for the video, mapping it to the appropriate underlying plugin. Only the selected provider is changed.
Requires api token with one of the following permissions
Read, update & delete anythingTokens with the "Act with a team member's permissions" permission
(all:delegate_to_contact_permissions scope) can also be used. Requests
made with such a token are authorized using the permissions of the
contact assigned to the token.
Requires confirm=true for the requested mutation. May share access, notify people or incur provider charges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Named private Wistia account; selects credentials, not a remote account ID. | |
| confirm | No | Must be true for the specific user-requested write. | |
| enabled | No | Whether the selected provider is turned on. Defaults to true. | |
| payload | No | Complete JSON request body instead of body flags. Supports current nested customization, caption and nullable values. | |
| media_id | Yes | The hashed ID of the video to be customized. | |
| provider | No | Which lead-capture mechanism to configure. | |
| settings | No | Provider-specific settings. Only the fields relevant to the chosen provider are used. | |
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. |