Skip to main content
PATCH
Update Widget

Authorizations

Authorization
string
header
required

A token from the API page: https://snapwidget.com/settings/api

Path Parameters

id
string
required

The widget's id (the id in list_widgets).

Body

application/json
layout
string

A new layout of the same kind. A social widget keeps its service and plan.

settings
object

The settings to change, as {name: value}, for example {"layoutx": 4, "layouty": 2, "name": "Home page feed"}.

accounts
integer[]

Social widget: all its account ids from list_accounts, in order, in place of the current ones.

campaign_id
integer

Social widget: one of the user's campaigns (list_campaigns), with the setting filter_type "hashtag-campaign".

name
string

The widget's name in the Widgets list.

source_ids
string[]

Review widget: all its review source ids from list_review_sources, in place of the current ones.

Response

The answer, as JSON.

The response is of type object.