Website
Webhook Integration Documentation
Endpoint
URL:
https://api-v2.ledsak.ai/api/webhook/website/webhook
Request Method:
POST
Description
This endpoint is used to send a webhook to a website. It requires a raw JSON request body containing client information, source details, branch location, and lead details.
Request Format
Headers
Ensure the request contains the appropriate headers, such as:
jsonCopy codeContent-Type: application/jsonRequest Body
The request body must be in JSON format and include the following fields:
client
string
The client associated with the webhook. (Find Client ID)
source
string
The source of the webhook.
branch
string
Name of the branch location.
lead_details
array
An array containing details about the lead. Each object in the array must include:
Client ID:
Go to Integrations
Click on Website View
See the Client Credentials: (Client id)

Source:

Branch:

Lead Details:
lead_field(string): The name of the lead field.lead_value(string): The corresponding value for the lead field.
Example Request Body
Response
Status Code
200 OK
Created Lead Succesfull
Last updated