> 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.

# Send notification to user

## `notify(opts)`

Send an in-Designer notification to the user. The notification can be styled as either a success, error, or general information message. Error messages provide users with the opportunity to close the Designer Extension.

### Syntax

```typescript
webflow.notify(
  opts: {
    type: 'Error' | 'Info' | 'Success',
    message: string,
  }
): Promise<void>
```

### Parameters

**`opts`** :   `{message: string, type: 'Error' | 'Info' | 'Success'`

The options for the notification.

* **message**: string
* **type**: "Error" | "Info" | "Success"

### Returns

**Promise\<*Void*>**

A Promise that returns a value of `undefined`.

### Example

```typescript
webflow.notify({ type: 'Info', message: 'Great work!' }); // General notification
webflow.notify({ type: 'Error', message: 'Something went wrong, try again!' }); // Error notification
webflow.notify({ type: 'Success', message: 'Successfully did something!' }); // Success notification
```

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

---