Push Notifications ALPHA

Description #

A scheduling_conversations object is added to the existing create channel endpoint allow your application to subscribe to scheduling conversation notifications for a particular account.

This can be used in addition to the optional filters parameter.

URL format #

api.cronofy.com/v1/channels

Example Request #

POST /v1/channels HTTP/1.1
Host: api.cronofy.com
Authorization: Bearer {ACCESS_TOKEN}
Content-Type: application/json; charset=utf-8

{
  "callback_url": {CALLBACK_URL},
  "scheduling_conversations": {
    "enabled": true
  }
}

This adds the following notification_type values.

Additional types:

  • scheduling_conversation_joined sent when the account is added as a participant to a new Scheduling Conversation
  • scheduling_conversation_updated sent when a scheduling conversation that the account is a participant in is updated

Example Request #

POST {CALLBACK_URL_PATH} HTTP/1.1
Host: {CALLBACK_URL_HOST}
Content-Type: application/json; charset=utf-8
Cronofy-HMAC-SHA256: {Base64(HmacSHA256(body_bytes, CLIENT_SECRET))}

{
  "notification": {
    "type": "scheduling_conversation_joined",
    "scheduling_conversation_id": "scv_55cfff7fb4af4c1027000005"
  },
  "channel": {
    "channel_id": "chn_54cf7c7cb4ad4c1027000001",
    "callback_url": {CALLBACK_URL},
    "scheduling_conversations": {
      "enabled": true
    }
  }
}
Search