Dokumentasi API SunnyDay
  1. Calendar Events
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
        POST
      • Update Appointment
        PUT
      • Get Appointment
        GET
      • Get Calendar Events
        GET
      • Get Blocked Slots
        GET
      • Create Block Slot
        POST
      • Update Block Slot
        PUT
      • Delete Event
        DELETE
    • 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
  1. Calendar Events

Get Appointment

GET
https://services.sunnyday.co.id/api/calendars/events/appointments/{eventId}
Get appointment by ID

Request

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

Header Params

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://services.sunnyday.co.id/api/calendars/events/appointments/ocQHyuzHvysMo5N5VsXc' \
--header 'Version: 2021-04-15' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "event": {
        "id": "string",
        "address": "https://meet.google.com/yqp-gogr-wve",
        "title": "Appointment with GHL Dev team",
        "calendarId": "BqTwX8QFwXzpegMve9EQ",
        "locationId": "0007BWpSzSwfiuSl0tR2",
        "contactId": "9NkT25Vor1v4aQatFsv2",
        "groupId": "9NkT25Vor1v4aQatFsv2",
        "appointmentStatus": "confirmed",
        "assignedUserId": "YlWd2wuCAZQzh2cH1fVZ",
        "users": [
            "YlWd2wuCAZQzh2cH1fVZ",
            "9NkT25Vor1v4aQatFsv2"
        ],
        "notes": "Some dummy note",
        "description": "Some dummy description",
        "isRecurring": "true",
        "rrule": "string",
        "startTime": "2023-09-25T16:00:00+05:30",
        "endTime": "2023-09-25T16:00:00+05:30",
        "dateAdded": "2023-09-25T16:00:00+05:30",
        "dateUpdated": "2023-09-25T16:00:00+05:30",
        "assignedResources": [
            "string"
        ],
        "createdBy": {
            "userId": "string",
            "source": "string"
        },
        "masterEventId": "ocWd2wuBGAQzh2cH1fSZ"
    }
}
Previous
Update Appointment
Next
Get Calendar Events
Built with