API Reference > imodeljs-clients > iModelHubClient > EventSubscriptionHandler > create create Method Create an EventSubscription. create(requestContext: AuthorizedClientRequestContext, iModelId: GuidString, events: EventType[]): Promise<EventSubscription> throws Common iModelHub errors Parameter Type Description requestContext AuthorizedClientRequestContext The client request context iModelId GuidString Id of the iModel. See HubIModel. events EventType[] Array of EventTypes to subscribe to. Returns - Promise<EventSubscription> Created EventSubscription instance. Defined in core/clients/src/imodelhub/Events.ts Line 296 Last Updated: 13 June, 2024