# Receiving Webhook from ClubReady

Webhooks are used to receive data in real time. ClubReady provides an automations feature that can allow you to send data to Gleantap in real time via Webhooks. To set this up login to your ClubReady account and go to Automations > Create Automation.

Refer to ClubReady's documentation to see details on setting up an Automation.

For Webhook settings, here is what you need

**Webhook URL** \
<https://api.gleantap.com/v1/ClubReady/receiveWebhook>

**Type** \
POST

**Payload Type**\
JSON

**Payload**

For New Prospect&#x20;

```
{
   "action": "new_prospect", // Other options - new_booking, update_contact
   "store_id": "456290",
   "firstname": "John",
   "lastname": "Doe",
   "email": "johndoe@domain.com",
   "phone": "+11234567890",
   "lead_type": "",
   "user_id": "1417958143"
}
   
```

For New Booking

```
{
   "action": "new_booking", 
   "store_id": "456290",
   "booking_date": "9/23/2023",
   "user_id": "1417958143"
}
   
```

For Update Contact

```
{
   "action": "update_contact", 
   "store_id": "456290",
   "prospect_type_name": "TBT Booked",
   "user_id": "1417958143"
   // include any other attributes you'd like to update in Gleantap
}
   
```
