How can I add conferencing to a Smart Invite?
Conferencing can only be generated if an event is created directly within a user’s calendar. Support for conferencing generation is not yet available for Smart Invite events.
In order to generate a conferencing link, you would need to create an event using the “create or update event” API endpoint. However, you do not need to include the attendees in the payload on the first go.
Following this approach of creating an event with no attendees associated will enable you to generate the conferencing associated to the event separately.
By utilising Subscriptions, you would be alerted when the conferencing has been generated.
At this point, you can trigger an update to the event to include all the relevant attendees. This will ensure that users are notified with one conferencing link.
So, the workflow would look something like this:
- Generate the event in the host’s calendar with conferencing assigned to the event.
- Use Subscriptions to have Cronofy notify your webhook of the
join_url
when it the URL has been generated within the event. - Once the
conferencing_assigned
notification is sent to the webhook, read thejoin_url
field and add it to the body of a Smart Invite. - Create the Smart Invite, where you will receive an iCalendar (ICS) file, which you can then send to the attendee with conferencing assigned to it.