Set / Update Webhook

Project Management API is disabled from Feb 1st, 2023 onwards, so any request made to this en point will fail

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

Update Webhook

POST https://pickyassist.com/app/api/v2/pm/update-webhook

This API allows you to Update Webhook

Request Body

NameTypeDescription

token

string

Your Master API Token for authentication

project_id

number

Project Id in which the webhook need to configured

global_webhook

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

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

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

{
   "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"
}

Last updated