Dokumentasi API SunnyDay
  1. Calendar Notifications
Dokumentasi API SunnyDay
  • Introduction
  • Locations
    • Update Locations
      PUT
    • Get Location Data
      GET
  • Calendars
    • Calendars
      • Get Free Slots
      • Update Calendar
      • Get Calendar
      • Delete Calendar
      • Get Calendars
      • Create Calendar
    • Calendar Groups
      • Get Groups
      • Create Calendar Group
      • Validate group slug
      • Delete Group
      • Update Group
      • Disable Group
    • Calendar Events
      • Create Appointment
      • Update Appointment
      • Get Appointment
      • Get Calendar Events
      • Get Blocked Slots
      • Create Block Slot
      • Update Block Slot
      • Delete Event
    • Appointment Notes
      • Get Notes
      • Create Note
      • Update Note
      • Delete Note
    • Calendar Resources: Rooms & Equipments
      • Get Calendar Resource
      • Update Calendar Resource
      • Delete Calendar Resource
      • List Calendar Resources
      • Create Calendar Resource
    • Calendar Notifications
      • Get notifications
        GET
  1. Calendar Notifications

Get notifications

GET
https://services.sunnyday.co.id/api/calendars/{calendarId}/notifications
Get calendar notifications based on query

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Query Params

Header Params

Responses

🟢200Success
application/json
Body

🟠400
🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://services.sunnyday.co.id/api/calendars//notifications?isActive&deleted&limit&skip' \
--header 'version: 2021-04-15' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
[
    {
        "_id": "string",
        "receiverType": "contact",
        "additionalEmailIds": [
            "example1@email.com",
            "example2@email.com"
        ],
        "additionalPhoneNumbers": [
            "+919876744444",
            "+919876744445"
        ],
        "channel": "email",
        "notificationType": "confirmation",
        "isActive": true,
        "additionalWhatsappNumbers": [
            "+919876744444",
            "+919876744445"
        ],
        "templateId": "0as9d8as0d",
        "body": "This is a test notification",
        "subject": "Test Notification",
        "afterTime": [
            {
                "timeOffset": 1,
                "unit": "hours"
            }
        ],
        "beforeTime": [
            {
                "timeOffset": 1,
                "unit": "hours"
            }
        ],
        "selectedUsers": [
            "user1",
            "user2"
        ],
        "deleted": false
    }
]
Previous
Create Calendar Resource
Built with