# gotoStory method

Information note**STABLE.**   
  
This API is reliable and breaking changes are unlikely.

qlik.navigation.gotoStory(storyId)

Navigate to a given story in the current app. The method will return before the actual navigation takes place.

## Version history

Version history

| Version state | Details |
| --- | --- |
| Introduced | 2.1 |

## Parameters

### storyId

Type: String

Set the story ID to navigate to.

## Returns

A navigation result object.

[QNavigationStoryResult object](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/NavigationAPI/QNavigationStoryResult.htm)

## Example

```
qlik.navigation.gotoStory('xYgfJ');
```