Webhook API
Webhook List API
API Endpoint
: /api/crm/webhook
Method
: GET
Response
HTTP_STATUS
: 200
{
"items": {
"cancel": {
"headers": [],
"url": "https://example.com/",
"status": true
}
}
}
Webhook Create/Update API
API Endpoint
: /api/crm/webhook/save
Method
: POST
Request
{
"type":"cancel",
"url":"https://example.com/",
"headers":{
"Authorization":"Bearer token......."
},
"status":true
}
Response
HTTP_STATUS
: 200
{
"detail": "Successfully Saved..."
}
Webhook Delete API
API Endpoint
: /api/crm/webhook/{type}
Method
: DELETE
Response
HTTP_STATUS
: 200
{
"detail": "Successfully Deleted..."
}