Update trigger

Update trigger

Endpoint

PUT https://embedworkflow.com/api/v1/triggers/{id}

Path Parameters

id string, required

System-generated unique identifier

Request Body

event string, optional

The trigger's key

title string, optional

Title

Response

Returns successful.

Response Properties

id string

System-generated unique identifier

created_at string

Created at in specified timezone

created_at_string string

Created at formatted as human-readable string

created_at_utc string

Created at in UTC

description string

Short description for the trigger

event string

Event type that activates this trigger

groups array

Permission groups for this trigger

hook_id string

Hook identifier for the trigger

icon object

Icon configuration for the trigger

object string

Object type identifier

on boolean

Whether the trigger is enabled

processed_count integer

Number of times this trigger has been processed

title string

Display title for the trigger

data_input_schema array

Data input schema for the trigger

Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
  "id": "0198c2e9-c445-745e-b8fe-548c58a2d447",
  "created_at": "2025-08-19T11:19:16-04:00",
  "created_at_string": "Aug 19, 2025 11:19 am EDT",
  "created_at_utc": "2025-08-19T15:19:16Z",
  "data_input_schema": [
    {
      "variable": "user_name",
      "data_path": "user['primary']['name']",
      "display_label": "User name",
      "format": null,
      "groups": [],
      "list_values_variable": null,
      "object": "data_type",
      "required": true,
      "source": "trigger",
      "type": "String",
      "value": null
    },
    {
      "variable": "zip_code",
      "data_path": "addresses[0]['zip']",
      "display_label": "Zip code",
      "format": null,
      "groups": [],
      "list_values_variable": null,
      "object": "data_type",
      "required": true,
      "source": "trigger",
      "type": "String",
      "value": null
    },
    {
      "variable": "title",
      "data_path": "title",
      "display_label": "Title",
      "format": null,
      "groups": [],
      "list_values_variable": null,
      "object": "data_type",
      "required": true,
      "source": "trigger",
      "type": "String",
      "value": null
    }
  ],
  "description": "A new lead signs up",
  "event": "updated_event",
  "groups": [],
  "hook_id": "691dd54a-ce3a-4806-a31b-100b53b5c2af",
  "icon": {},
  "object": "trigger",
  "on": true,
  "processed_count": 0,
  "title": "New Lead"
}