---
title: Calendar::getEventById
---

Returns a single event with the matching `id`.

<div class='spec'>

calendar.getEventById( *id* )

</div>

`id` must be a string or a number

Will return an [Event Object](event-object) if found, and `null` otherwise.
