API Reference > imodelhub-client > iModelHubClient > EventHandler > getSASToken getSASToken Method Get event SAS Token. Used to authenticate for EventHandler.getEvent. getSASToken(requestContext: AuthorizedClientRequestContext, iModelId: string): Promise<EventSAS> throws Common iModelHub errors Parameter Type Description requestContext AuthorizedClientRequestContext The client request context iModelId string Id of the iModel. See HubIModel. Returns - Promise<EventSAS> SAS Token to connect to the topic. Defined in clients/imodelhub/src/imodelhub/Events.ts Line 478 Last Updated: 11 June, 2024