Webhook Integration

Webhook is a user-defined HTTP callbacks URL of an API. The webhook can be used to receive an HTTP POST event when a new booking/meeting is created on DaySchedule.

You can use the DaySchedule + Webhook integration to automatically send the new booking/meeting details to the added URL.

How to connect Webhook with DaySchedule

  1. Go to Workflows Menu
  2. Click on the Create a workflow or Add button
  3. Enter workflow name, select an Event and other details.
  4. In the Action section click on the Webhook, enter your webhook URL.
  5. Then click on the Save button.

Data Sample

  1. Here, Webhook.site is used for webhook integration. You can use your own API also.

  2. Sample Payload sent by DaySchedule.

{
  "booking": {
    "start_at": "2022-02-18T04:30:00.000Z",
    "end_at": "2022-02-18T05:00:00.000Z",
    "event": {
      "event_id": 318,
      "type": "one-to-one",
      "name": "notice-p",
      "description": null
    },
    "org_id": 133,
    "qrcode": true,
    "time_zone": "Asia/Calcutta",
    "host": {
      "user_id": 282,
      "name": "Shashwat",
      "email": "shashwat.prakash+11@agenty.com",
      "time": "Friday, February 18, 2022 10:00 AM (GMT +05:30)"
    },
    "location": {
      "type": "Google Meet",
      "join_url": "https://meet.google.com/shs-szjp-ytj",
      "location": "https://meet.google.com/shs-szjp-ytj"
    },
    "color": "#fbca04",
    "subject": "New event - Notice period - Friday, February 18, 2022 10:00 AM (GMT +05:30) - notice-p",
    "status": "pending",
    "_id": "620dce7d6b70106ac1633679",
    "description": "notice-p\n\n=====================\nThis is a Google Meet event - https://meet.google.com/shs-szjp-ytj"
  },
  "event": {
    "event_id": 318,
    "org_id": 133,
    "user_id": 282,
    "page_id": 152,
    "name": "notice-p",
    "type": "one-to-one",
    "location": {
      "type": "Google Meet"
    },
    "duration": 30,
    "color": "#fbca04",
    "description": null,
    "notice": {
      "type": "days",
      "value": 1
    },
    "buffertime_before": null,
    "buffertime_after": null,
    "slug": "/noticep",
    "is_guests_allowed": 1,
    "period": {
      "days": 60,
      "type": "calendar_days",
      "specific": []
    },
    "schedule_id": 91,
    "confirmation": {
      "type": "default",
      "redirect": {
        "send_data": false
      }
    },
    "questions": [
      {
        "name": "name",
        "type": "text",
        "label": "Name",
        "value": "",
        "required": true
      },
      {
        "name": "email",
        "type": "text",
        "label": "Email address",
        "value": "",
        "required": true
      },
      {
        "name": "description",
        "type": "textarea",
        "label": "Please share anything that will help prepare for our meeting",
        "value": "",
        "required": false
      }
    ],
    "owner": "Shashwat",
    "avatar": null,
    "booking_url": "shashwat-22.dayschedule.in"
  },
  "user": {
    "user_id": 282,
    "org_id": 133,
    "name": "Shashwat",
    "email": "shashwat.prakash+11@agenty.com",
    "role": "Owner",
    "status": "active",
    "domain": "shashwat-22",
    "time_zone": "Asia/Calcutta",
    "is_verified": 1,
    "avatar": "https://s3.amazonaws.com/us-east-1.data.dayschedule.com/uploads/org-133/Avatar/282-1644829543843-salonteam-1.jpg",
    "phone": "+911234567890",
    "plan": "Enterprise",
    "seats_limit": 11,
    "seats_used": 3
  },
  "invitee": {
    "name": "Notice period",
    "email": "shashwat.prakash+notice@agenty.com",
    "time_zone": "Asia/Calcutta",
    "guests": null,
    "questions": [
      {
        "name": "name",
        "type": "text",
        "label": "Name",
        "value": "Notice period",
        "required": true
      },
      {
        "name": "email",
        "type": "text",
        "label": "Email address",
        "value": "shashwat.prakash+notice@agenty.com",
        "required": true
      },
      {
        "name": "description",
        "type": "textarea",
        "label": "Please share anything that will help prepare for our meeting",
        "value": "",
        "required": false
      }
    ],
    "org_id": 133,
    "time": "Friday, February 18, 2022 10:00 AM (GMT +05:30)",
    "token": "5S099GCMUC",
    "booking_id": "620dce7d6b70106ac1633679",
    "invitee_id": "620dce7d6b70106ac163367b"
  },
  "workflow": {
    "_id": "620dce516b70106ac1633670",
    "is_enabled": true,
    "actions": [
      {
        "type": "webhook",
        "to": [
          "invitee",
          "host"
        ],
        "url": "https://webhook.site/57a1e2fa-d8c2-4e66-9279-d4bb6495fd1e"
      }
    ],
    "trigger": {
      "when": "event_scheduled",
      "is_immediately": false,
      "value": 1,
      "type": "minutes"
    },
    "name": "15 minutes reminder",
    "user_id": 282,
    "event_id": 318,
    "org_id": 133,
    "created_at": "2022-02-17T04:25:53.851Z",
    "updated_at": "2022-02-17T04:25:53.851Z"
  }
}
Free for small teams

Get your personalized scheduling link to share with your customers to let them schedule meetings without back-and-forth emails.

Sign up for free →

14 days free trial