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