To change name of a widget, send a PATCH request on /widgets/{id}.
/widgets/{id}
PATCH https://api.didomi.io/widgets/{id}?organization_id=YOUR_ORG_ID { "name": "YOUR_TITLE" }
To make a widget headless, send a PATCH request on /widgets/{id}
Note that the widget format has to be embeddable for a Headless widgets to work.
embeddable
PATCH https://api.didomi.io/widgets/{id}?organization_id=YOUR_ORG_ID { "headless": true }
To set the meta tags, send a PATCH request on /widgets/{id} and specify the following properties.
favicon
Icon displayed in the address bar of a browser. You need to add an URL to display a favicon in your hosted widget.
title
Title displayed in the address bar of a browser. You can edit the translations enabled in your widget to overwrite our default content provided.
Last updated 8 months ago
PATCH https://api.didomi.io/widgets/{id}?organization_id=YOUR_ORG_ID { "meta_tags": { "favicon": "String", "title": { "en": "String", "fr": "String" } } }