Skip to content
  • There are no suggestions because the search field is empty.

How to Create a Webhook in FreJun? | API Webhook Setup Guide

FreJun allows you to create webhooks via its API so that your application can receive real‑time notifications for specific events (like call status changes) . To create a webhook, make a POST request to the endpoint /api/v1/integrations/create-webhook/, include the event type (e.g., call.status) and your callback URL in the JSON payload, and authenticate using a Bearer token with your Client ID and Client Secret .

 

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!

Sign Up