> ## Documentation Index > Fetch the complete documentation index at: https://www.canva.dev/docs/apps/llms.txt > Use this file to discover all available pages before exploring further. # notification.addToast API reference for the notification.addToast method. A method that shows a toast notification to the user. ## Usage ```tsx import { notification } from '@canva/platform'; import type { ToastRequest } from '@canva/platform'; const showToast = () => { const request: ToastRequest = { messageText: "Hello world!", }; notification.addToast(request); }; ``` ## Parameters Options for configuring a toast notification. Properties of request}> Text to show within the toast notification. The duration that the notification will be visible. If set to `"infinite"`, the notification will be displayed until manually dismissed by the user. If set to a number, the notification will automatically disappear after that duration (in milliseconds). **Default value**: `5000` ## Returns The result when a toast notification is successfully added. This is a `Promise` that resolves with the following object: The status of the request. The only valid value is `"completed"`. ## Rate limit This method has a rate limit of 10 requests every 10 seconds.