Update a widget
POST https://api-authenticator.iwelcome.com/v1/widgets
Headers:
Authorization: Bearer {your application API Key}
Content-Type: application/json
id (string, required) - The id of the widget to be updated.
name (string) - Optional. Name of the widget
is_active (boolean) - Optional. Default value is 'TRUE'
url (string) - Required. The full domain url.
color_primary (string) - Optional. Hex code for primary color.
color_secondary (string) - Optional. Hex code for secondary color.
color_link (string) - Optional. Hex code for links color.
has_watermark (boolean) - Optional. Default value is 'TRUE'
{
"type": "api.application.widget.update",
"result": {
"id": "12345",
"lang": "en",
"name": "My updated widget",
"type": "CONFIRMATION",
"is_active": true,
"has_watermark": true,
"environment": "LIVE",
"organization_id": "123",
"application_id": "12",
"created_at": "2016-11-23T14:03:51.000Z",
"color": {
"primary": "#5c5d5d",
"secondary": "#000000",
"link": "#3da0e3",
"error": ""
},
"path": "/",
"domain": {
"id": "12345",
"protocol": "HTTP",
"hostname": "example.com",
"port": 80,
"is_sandbox": false,
"organization_id": "123",
"href": "http://example.com",
"is_verified": false,
"verify_key": "aaaaaaaaaaa"
}
}
}
Have a question? You can always send us an email at support@unloq.io, or contact us on chat.
For security related concerns, please visit our Security page.