Widgets

Update a widget

Changes the draft only. Publish the draft to make it live.

Requires an API token with the write ability. Tokens created without abilities have *, which grants every ability.

put/{teamPid}/widgets/{widget}

Request

  • Base URL
    https://api.rightmessage.com/v1
  • Auth
    HTTP bearer

Path parameters

teamPidstring required

Project ID: the public pid that appears in dashboard URLs (app.rightmessage.com/{teamPid}/…).

widgetstring required

Widget ID.

Request body

namestring
type'modal' | 'bar' | 'toaster' | 'inline' | 'takeover'
flow_idstring nullable
is_enabledboolean
frequency'startover' | 'immediately' | 'pageview' | 'session' | 'none'
optionsstring[]

Response

WidgetResource

Changes

No recorded changes to this operation across all 1 revision of this API.