build snap-kit based widgets on plug
ART-1484_KNOWLEDGE_NODE-3
elements for creating custom user interface using snap-kit.\n\n## Structure\n\nThe snap-kit JSON has a top-level structure with `object`, `body`, `type`, and `snap_kit_body` fields. The `snap_kit_body` field contains information regarding snap-kit\xe2\x80\x99s structure.\n\nThe `snap_kit_body` field has the following properties:\n\n  * `snap_in_id`: A unique identifier for the snap-kit.\n  * `snap_in_action_name`: The name of the action this snap-kit represents.\n  * `body`: An object that
Snapkit — DevRev | Docs
ART-15522_KNOWLEDGE_NODE-1
Components\n===============\n\nCopy page\n\nSnap components enable adding custom UI components defined by snap-kit to the DevRev UI.\nThese components can be used to display data or interact with the user.\nSnap components are defined in the snap-in manifest file. DevRev UI renders these components based on the defined configuration.\n\nEach snap-component has the following properties:\n\n* `surface` : The surface where the snap component can be displayed.\n* `snap_kit_action_name` : The name
Snap Components | DevRev | Docs
ART-1290_KNOWLEDGE_NODE-2
interface using snap-kit.\n\nStructure\n---------\n\nThe snap-kit JSON has a top-level structure with `object`, `body`, `type`, and `snap_kit_body` fields. The `snap_kit_body` field contains information regarding snap-kit\xe2\x80\x99s structure.\n\nThe `snap_kit_body` field has the following properties:\n\n* `snap_in_id`: A unique identifier for the snap-kit.\n* `snap_in_action_name`: The name of the action this snap-kit represents.\n* `body`: An object that holds the actual snap-kit content in
Snapkit | DevRev | Docs
ART-2814_KNOWLEDGE_NODE-2
development](/public/snapin-development/concepts)[References](/public/snapin-development/references/cli-install)\n\n#\n\nSnap Components\n\nSnap components enable adding custom UI components defined by snap-kit to the DevRev UI. These components can be used to display data or interact with the user. Snap components are defined in the snap-in manifest file. DevRev UI renders these components based on the defined configuration.\n\nEach snap-component has the following properties:\n\n  * `surface`
Snap Components — DevRev | Docs
ART-13034_KNOWLEDGE_NODE-2
the snap widget is shared with.\n\nShow 2 properties\n\n### Response\n\nSuccess.\n\nsnap_widgetobject\n\nShow property\n\n### Errors\n\n400\n\nBad Request Error\n\n401\n\nUnauthorized Error\n\n403\n\nForbidden Error\n\n429\n\nToo Many Requests Error\n\n500\n\nInternal Server Error\n\n503\n\nService Unavailable Error\n\nPOST\n\n/snap-widgets.create\n\n[code]\n\n    $| curl -X POST https://api.devrev.ai/snap-widgets.create \\  \n    ---|---  \n    >|      -H "Authorization: Bearer <token>" \\  \n
Create Snap Widget — DevRev | Docs
ART-15458_KNOWLEDGE_NODE-0
b'Create Snap Widget | DevRev | Docs\n\n[![]()![]()](https://developer.devrev.ai/)\n\nPublic\n\nPublic\n\nSearch\n\n`/`\n\n[API Reference](/api-reference/getting-started)[snap-widgets](/api-reference/snap-widgets/create)\n\nCreate Snap Widget\n==================\n\nCopy page\n\nPOST\n\nhttps://api.devrev.ai/snap-widgets.create\n\nPOST\n\n/snap-widgets.create\n\n```\n|  |  |\n| --- | --- |\n| $ | curl -X POST https://api.devrev.ai/snap-widgets.create \\ |\n| > | -H "Authorization: Bearer <token>"
Create Snap Widget | DevRev | Docs
ART-1846_KNOWLEDGE_NODE-7
organization and user. It is called when the configuration page is first loaded.\n* `snap_in_configuration_handler`: This function processes the user and organization configuration options. It is triggered when actions are performed on the organization or user configuration snap-kit.\n\nConfiguration functions\n-----------------------\n\nThe configuration functions should return a valid snap-kit JSON that defines the layout and elements of the custom configuration page. Here\xe2\x80\x99s an
Customizing snap-in configuration | DevRev | Docs
ART-1558_KNOWLEDGE_NODE-442
ID of the snap-in to update.\n\ninputs_values map from strings to any Optional\n\nThe updated values of the inputs.\n\nResponse.\n\nThis endpoint returns an object.\nsnap_in object\nShow 7 properties\nAPI Reference snap-widgets Create.\n\nPOST https://api.devrev.ai / snap-widgets.create\n\nCreate a snap widget object.\n\nRequest.\n\nThis endpoint expects an object.\nEmail Preview\n\nAn email preview widget.\n\nShow 19 properties\nResponse.\n\nThis endpoint returns an object.\nsnap_widget
Metric Definitions List (Beta) — DevRev | Docs
ART-1560_KNOWLEDGE_NODE-445
ID of the snap-in to update.\n\ninputs_values map from strings to any Optional\n\nThe updated values of the inputs.\n\nResponse.\n\nThis endpoint returns an object.\nsnap_in object\nShow 7 properties\nAPI Reference snap-widgets Create.\n\nPOST https://api.devrev.ai / snap-widgets.create\n\nCreate a snap widget object.\n\nRequest.\n\nThis endpoint expects an object.\nEmail Preview\n\nAn email preview widget.\n\nShow 19 properties\nResponse.\n\nThis endpoint returns an object.\nsnap_widget
Assign (Beta) — DevRev | Docs
ART-1566_KNOWLEDGE_NODE-445
ID of the snap-in to update.\n\ninputs_values map from strings to any Optional\n\nThe updated values of the inputs.\n\nResponse.\n\nThis endpoint returns an object.\nsnap_in object\nShow 7 properties\nAPI Reference snap-widgets Create.\n\nPOST https://api.devrev.ai / snap-widgets.create\n\nCreate a snap widget object.\n\nRequest.\n\nThis endpoint expects an object.\nEmail Preview\n\nAn email preview widget.\n\nShow 19 properties\nResponse.\n\nThis endpoint returns an object.\nsnap_widget
Transition (Beta) — DevRev | Docs
ART-1640_KNOWLEDGE_NODE-1
Response\n\nSuccess.\n\nsnap_widgetobject\n\nShow 2 variants\n\nPOST\n\n/snap-widgets.create\n\ncURL\n\n[code]\n\n    $| curl -X POST https://api.devrev.ai/snap-widgets.create \\  \n    ---|---  \n    >|      -H "Authorization: Bearer <token>" \\  \n    >|      -H "Content-Type: application/json" \\  \n    >|      -d \'{  \n    >|   "type": "email_preview",  \n    >|   "name": "name"  \n    >| }\'\n[/code]  \n  \nTry it\n\n201Created\n\n[code]\n\n    1| {  \n    ---|---  \n    2|
Create Snap Widget (Beta) — DevRev | Docs
ART-1484_KNOWLEDGE_NODE-192
button](/public/snapin-development/references/snapkit#toggle-button)\n  * [Upload input](/public/snapin-development/references/snapkit#upload-input)\n\n_Example_\n\n[code]\n\n     1| {  \n    ---|---  \n    2|   "action_id": "user_form",  \n    3|   "alignment": "end",  \n    4|   "direction": "row",  \n    5|   "elements": [  \n    6|     {  \n    7|       "element": {  \n    8|         "action_id": "name",  \n    9|         "min_length": 10,  \n    10|         "placeholder": {  \n    11|
Snapkit — DevRev | Docs
ART-15522_KNOWLEDGE_NODE-4
snap_kit_body: |\n| 17 | { |\n| 18 | "snaps":[] |\n| 19 | } |\n```\n\nFormat of context passed to snap-kit action\n-------------------------------------------\n\n```\n|  |  |\n| --- | --- |\n| 1 | // The payload contains details and values of the snap-kit from which the action was invoked. |\n| 2 | interface Payload { |\n| 3 | action: { |\n| 4 | block_id: string; |\n| 5 | id: string; |\n| 6 | timestamp: number; |\n| 7 | type: string; |\n| 8 | value: string; |\n| 9 | }; |\n| 10 | action_id:
Snap Components | DevRev | Docs
ART-3109_KNOWLEDGE_NODE-29
go to **Settings > Support > Plug Chat > Layout** through the settings icon on the top-left corner.\n2. Select **Add a Card** and enter a title, description, image, and redirect URL.\n3. Click **Save and Publish** in the top-right corner. The new card is visible in your Plug widget.\n\nWant to add more personalization to your Plug widget? Create your own. Visit [SDK Methods and Customization](https://developer.devrev.ai/sdks/web/customize) to create your own Plug from the ground
Plug widget customization | Computer for Your Customers | DevRev
ART-1607_KNOWLEDGE_NODE-393
snap-in to update.\ninputs_values map from strings to any Optional\nThe updated values of the inputs.\nResponse.\n\nThis endpoint returns an object.\nsnap_in object\nShow 7 properties\nAPI Reference snap-widgets Create.\n\nPOST https:// api.devrev.ai / snap-widgets.create\nCreate a snap widget object.\nRequest.\n\nThis endpoint expects an object.\nEmail Preview Show 19 properties\nResponse.\n\nThis endpoint returns an object.\nsnap_widget object\nShow variant\nAPI Reference surveys
Get Post — DevRev | Docs
ART-1588_KNOWLEDGE_NODE-393
snap-in to update.\ninputs_values map from strings to any Optional\nThe updated values of the inputs.\nResponse.\n\nThis endpoint returns an object.\nsnap_in object\nShow 7 properties\nAPI Reference snap-widgets Create.\n\nPOST https:// api.devrev.ai / snap-widgets.create\nCreate a snap widget object.\nRequest.\n\nThis endpoint expects an object.\nEmail Preview Show 19 properties\nResponse.\n\nThis endpoint returns an object.\nsnap_widget object\nShow variant\nAPI Reference surveys
Get — DevRev | Docs
ART-1290_KNOWLEDGE_NODE-191
"remote", |\n| 4 | "type": "user_picker", |\n| 5 | "value": ["don:identity:dvrv-us-1:devo/H66a8LUt:devu/5"], |\n| 6 | "timestamp": "2023-07-12T08:32:15.001Z" |\n| 7 | } |\n```\n\nExample snap-kit\n----------------\n\nIn this updated JSON, the `divider` component is added to create a visual separation. The `checkboxes` component allows for selecting multiple options. The `part_picker` component allows for selecting parts, and the `tag_picker` component allows for selecting tags. You can
Snapkit | DevRev | Docs