Create event subscription
documentedCreates a subscription for the specified Lime Go events. Lime Go will invoke your webhook when the event occurs.
POST /event/subscriptionEventsno 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://api.lime-go.com/v1/event/subscription" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"events": {{$events}}, "target_url": "{{$webhook_url}}", "secret": "{{$webhook_secret}}"}'