> This page is for Designer API.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.webflow.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server.

# Get utility page key

> Get the utility page key of the page.

## `page.getUtilityPageKey()`

Get the page key of a [Webflow utility page.](https://help.webflow.com/hc/en-us/articles/33961362705171-Page-URLs#utility-pages)

#

### Syntax

```typescript
page.getUtilityPageKey(): Promise<null | UtilKey>
```

### Returns

**Promise\<`null` | `UtilKey`>**

A promise that resolves to one of the following utility page keys, or `null` if the page is not a utility page:

* `'401'` - Unauthorized access page
* `'404'` - Not found page
* `'search'` - Search results page
* `'ecommerce-checkout'` - Main checkout page
* `'ecommerce-paypal-checkout'` - PayPal checkout flow
* `'ecommerce-confirmation'` - Order confirmation page
* `'usys-log-in'` - User login page
* `'usys-sign-up'` - User registration page
* `'usys-reset-password'` - Password reset request page
* `'usys-user-account'` - User account management
* `'usys-update-password'` - Password update page
* `'usys-access-denied'` - Access denied error page

#

### Example

```typescript
// Get Current Page
const currentPage = await webflow.getCurrentPage() as Page

// Get utility page key
const utilityKey = await currentPage.getUtilityPageKey()
console.log("Utility Key", utilityKey)
```

[Try this example](https://webflow.com/oauth/authorize?response_type=code\&client_id=19511de1ec410f9228d8dcbc9420e67916dea80d86d18f0c9a533eb475ea0f62)

### Designer Ability

| Designer Ability        | Locale | Branch | Workflow | Sitemode |
| :---------------------- | :----- | :----- | :------- | :------- |
| **canReadPageSettings** | Any    | Any    | Any      | Any      |