Skip to main content
GET
/
calendar
/
{event_id}
/
logs
Get Event Logs
curl --request GET \
  --url https://api.decodahealth.com/calendar/{event_id}/logs \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
[
  {
    "id": "<string>",
    "eventId": "<string>",
    "actionType": "CREATED",
    "createdBy": {
      "id": "<string>",
      "type": "PROVIDER",
      "firstName": "<string>",
      "lastName": "<string>",
      "phoneNumber": "<string>",
      "email": "<string>",
      "locationId": "<string>"
    },
    "createdDate": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "data": {
      "oldStatus": "<string>"
    }
  }
]

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

event_id
string
required

Response

Successful Response

id
string
required

The unique identifier for the event log entry

eventId
string
required

The ID of the event this log entry is for

actionType
enum<string>
required

The type of action that was performed

Available options:
CREATED,
CANCELLED,
RESCHEDULED,
STATUS_CHANGED,
CHECKED_IN,
NO_SHOW_MARKED,
COMPLETED
createdBy
UserTiny · object
required

The user who performed the action

createdDate
string<date-time>
required

When this action was performed

description
string | null

User-provided description or reason for the action

data
StatusTransitionData · object

Additional context about the action

  • StatusTransitionData
  • StatusChangeData
  • RescheduleData
  • CreationData
  • Data