Skip to main content
POST
Add Webhook

Overview

The “Add Webhook” endpoint is designed to enable Toingg to perform specific actions by triggering external systems during a call. By sending a POST request to the /add_webhook endpoint, users can configure the webhook to respond to particular events, such as call initiation or completion. This setup allows Toingg to interact with external services in real-time, facilitating actions like data updates, notifications, or other automated processes. Users can specify the webhook’s name, event path, HTTP method, and any necessary headers or JSON data to ensure the webhook functions as intended, providing a seamless integration experience.

Example cURL Request

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
name
string
required
path
string
required
method
enum<string>
required
Available options:
GET,
POST,
PUT,
DELETE
description
string | null
headers
Headers · object | null
params
Params · object | null
json_data
Json Data · object | null

Response

Successful Response