Set / Update Webhook

This API allows you to set / update webhooks against each project

post
Update Webhook

https://pickyassist.com/app/api/v2/pm/update-webhook
This API allows you to Update Webhook
Request
Response
Request
Body Parameters
token
required
string
Your Master API Token for authentication
project_id
required
number
Project Id in which the webhook need to configured
global_webhook
optional
string
Pass the Webhook URL which needs to be configured for Global Webhook Please note if you pass blank value then webhook will be removed
event_webhook
optional
string
Pass the Webhook URL which needs to be configured for Event Wehook Please note if you pass blank value then webhook will be removed
smart_reply_webhook
optional
string
Pass the Webhook URL which needs to be configured fro Smart Replies Please note if you pass blank value then webhook will be removed
Response
200: OK
{
"status":100,
"message":"Success"
}

Response Variables

Variable

Type

Description

status

numeric

Status of the Request

100 = Sucess

Refer Error Codes for complete Status Codes

message

string

Error or detailed response Message details

Sample Request Body JSON

{
"token":"343434sdfdfdf",
"project_id":733714,
"global_webhook":"https://pickyassist.com/beta/test_webhook.php",
"event_webhook":"https://pickyassist.com/beta/test_webhook.php",
"smart_reply_webhook":"https://pickyassist.com/beta/test_webhook.php"
}

Sample Response

{
"status":100,
"message":"Success"
}