cURL
curl --request PATCH \ --url https://api.example.com/api/agents/{agent_uid}/triggers/{trigger_uid} \ --header 'Content-Type: application/json' \ --data ' { "trigger_type": "<string>", "configuration": {}, "is_active": true } '
Update a trigger on an agent
{ "is_active": false }
200
{ "status": "success", "status_code": 200, "data": { "uid": "t1-uuid-here", "agent_uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "trigger_type": "email_received", "configuration": null, "is_active": false, "created_on": "2026-03-20T10:00:00Z", "updated_on": "2026-03-20T11:00:00Z" } }
404
422