Modify webhook behavior
We get spammed with 9 calls if our system is under load and can't respond in time. We want to be able to configure which statuses (call_started, call_ended, call_analyzed) actually send webhooks. That'd minimize our problem by 66%.
Other issues are how fast the webhook retries. We're seeing retries within a second, very often.
Potential methods to achieve this:
- Accept text responses instead of requiring 200 OK (possible reply "Hook accepted")
- Configurable timeout
- Select which webhooks you want to send (e.g., only call_analyzed)
- Selectable retry speed (e.g., 1-4 seconds)
Again:
Issue 1: We want to only send webhooks during call analyzed.
Issue 2: We want to control retries via either OR both:
- Accept text only responses instead of requiring 2XX response (will allow for more post-processing)
- Configurable timeout +/or retry speed
Other issues are how fast the webhook retries. We're seeing retries within a second, very often.
Potential methods to achieve this:
- Accept text responses instead of requiring 200 OK (possible reply "Hook accepted")
- Configurable timeout
- Select which webhooks you want to send (e.g., only call_analyzed)
- Selectable retry speed (e.g., 1-4 seconds)
Again:
Issue 1: We want to only send webhooks during call analyzed.
Issue 2: We want to control retries via either OR both:
- Accept text only responses instead of requiring 2XX response (will allow for more post-processing)
- Configurable timeout +/or retry speed
