How to create a Webhook?

 

To create a new webhook:

  • Endpoint: POST /api/v1/integrations/create-webhook/

  • Headers:

    • Authorization: Bearer <Base64Encoded(Client ID:Client Secret)>
    • Content-Type: application/json
  • Payload:

    {
    "event": "call.status",
    "callback_url": "<https://yourapp.com/webhook-endpoint>"
    }

Docs

Upon successful creation, FreJun will return a response containing the webhook's details, including its unique id.

 

If you have any more questions or need assistance, feel free to reach out to us at Hello@frejun.com. We’re here to help!