Skip to main content

Set up an agent webhook

Configure an agent webhook to deliver selected voice or chat events to your application. For the available events and payload envelopes, start with Webhooks overview.

UponAI register webhook dashboard in dark mode

Illustrative dashboard screenshot in dark mode, using sample data.

Prepare your receiver​

Provide a reachable HTTPS endpoint that accepts JSON POST requests. Decide which events your integration needs and how it will authenticate deliveries. Save data to a durable queue or store before acknowledging a request; process slow tasks asynchronously and make repeated deliveries safe.

For local development, use an HTTPS tunnel to your test receiver and a dedicated test agent. Avoid putting private credentials in a URL.

Configure the agent​

  1. Open the agent's webhook settings.
  2. Enter your receiving endpoint URL.
  3. Select the events you want delivered.
  4. Enable the appropriate webhook authentication method and save its value.
  5. Save the settings and read them back to confirm they persisted.

The setting is at agent level, so LLM-based and conversation-flow voice agents use the same webhook configuration concepts. Chat agents select from the chat event list. UponAI stores your destination separately from its managed delivery endpoint; keep your own URL in the receiving-URL field.

For a typical completed-call integration, select call_ended and call_analyzed. Add transcript_updated only when you need ongoing transcript updates. Select the transfer events needed by your workflow; those optional events follow your saved selection.

Drafts and publishing​

A new subscription may require an editable agent draft. Save the subscription on the draft, publish the intended version, and confirm the relevant phone numbers use it. A successful save alone does not move a phone number to another version.

Publishing preserves your receiving URL and selected events. Historical version responses show the current agent-level customer webhook settings. A public API subscription update against a published version can return 409; use an editable draft for that change.

Configure through the public API​

The public create/update agent operations support webhook_url and webhook_events. See Update agent, Update chat agent, and the API and SDK example.

Omitted PATCH fields retain their values. An empty event array disables customer event forwarding, and a null receiving URL clears the destination. These choices are separate from the platform's internal lifecycle processing.

Verify delivery​

Run a test conversation that actually produces the event you selected. Confirm the request reaches your receiver, authentication passes, and the receiver returns a success response. Check the event name and session identifier before processing.

If delivery is missing, check the saved selection, published version, phone assignment, receiving URL, and your application's request logs. Use Call History to investigate the conversation itself.

Agent event webhooks deliver activity notifications. A number's inbound call webhook supplies context before an inbound conversation and is configured separately.

Search documentation

Type to filter pages. Use ↑ ↓ to choose, then Enter to open.

0 matching pages
AI questions are sent only when you select Ask AI or press Enter on it. Don’t include API keys or customer data.