# Event Webhook Sample Request & Response

Here is the Sample Request & Response for quick deployment&#x20;

In this method you will get data as JSON , you need to specify to push the data in JSON method while setting up Webhook URL&#x20;

{% hint style="danger" %}

### Delivery & Read Reports are not support for WhatsApp Groups

{% endhint %}

## Delivery Report Event Update

{% tabs %}
{% tab title="POST Request" %}
`POST`  <https://yourdomain.com/event-webhook>

```javascript
{  
   "project_id":"3526",
   "event_id":1,
   "data":[  
      {  
         "push_id":"595536",
         "number":"1543342290",
         "msg_id":"1758142",
         "status":"1",
         "reference_number": "Y12333",
         "message": "We have delivered your order 123213",
         "media": "https://cdn.pickyassist.com/media_gallery/mages1.jpeg",
         "message_type": "image",
         "channel_id": "122",
         "agent_id": "7311",
         "template_id": "YQ11811243",
         "source": "Teambox"
      },
      {  
         "push_id":"595536",
         "number":"323223902323",
         "msg_id":"1758143",
         "status":"2",
         "message": "We have delivered your order 123213",
         "media": "https://cdn.pickyassist.com/media_gallery/mages1.jpeg",
         "message_type": "image",
         "channel_id": "122",
         "agent_id": "7311",
         "template_id": "YQ11811243",
         "source": "Teambox"
      },
      {  
         "push_id":"595536",
         "number":"919846042290",
         "msg_id":"1758144",
         "status":"1",
         "message": "We have delivered your order 123213",
         "media": "https://cdn.pickyassist.com/media_gallery/mages1.jpeg",
         "message_type": "image",
         "channel_id": "122",
         "agent_id": "7311",
         "template_id": "YQ11811243",
         "source": "Teambox"
      }
   ]
}
```

{% endtab %}
{% endtabs %}

## WhatsApp Filter Event&#x20;

{% tabs %}
{% tab title="POST Request" %}
`POST`  <https://yourdomain.com/event-webhook>

```javascript
{
	"project_id": "3526",
	"event_id": 2,
	"data": [{
			"push_id": "594290",
			"number": "554343442290",
			"msg_id": "1756371",
			"status": "1"
		},
		{
			"push_id": "594290",
			"number": "98837938",
			"msg_id": "1756372",
			"status": "2"
		}
	]
}
```

{% endtab %}
{% endtabs %}

## WhatsApp Group Event

{% tabs %}
{% tab title="POST Request" %}
`POST`  <https://yourdomain.com/event-webhook>

```javascript
{  
   "project_id":"3526",
   "event_id":3,
   "action":1,
   "group_id":"A3526",
   "group_subject":"Test Group",
   "number":"1494894894",
   "application":8
}
```

{% endtab %}
{% endtabs %}

## New Subscriber Alert

{% tabs %}
{% tab title="POST Request" %}
`POST`  <https://yourdomain.com/event-webhook>

```javascript
{
   "project_id":"6681",
   "event_id":4,
   "subscriber_id":"VP14314575",
   "mobile":"919000000000",
   "name":"",
   "email":"",
   "profile_pic":"",
   "channel":"919737001155",
   "message":"hi",
   "date":"2020-05-29T16:01:06+05:30"
}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}

### We dont listen / acknowledge/ expect any specific response from your side and there is no retry. In case if your application or server goes down for a particular period then please use our [Report API](/api-documentation-v2/push-api/delivery-reports.md) to get the details during the period&#x20;

{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.pickyassist.com/api-documentation-v2/event-webhook/event-webhook-sample-request-and-response.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
