Create hook
documentedCreate a webhook for a conversation.
POST /api/conversation/create_hook/CONV_IDConversation hooksno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://fleep.io/api/conversation/create_hook/{{$CONV_ID}}" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"hook_name": "{{$hook_name}}", "mk_hook_type": "{{$mk_hook_type}}", "from_message_nr": {{$from_message_nr}}, "outgoing_url": "{{$outgoing_url}}", "external_account_id": "{{$external_account_id}}", "external_object_id": "{{$external_object_id}}", "ticket": "{{$ticket}}"}'