> For the complete documentation index, see [llms.txt](https://developers-apps-in-toss.toss.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers-apps-in-toss.toss.im/guide/en/operation/check.md).

# Set up emergency maintenance

Partners can preconfigure a mini app service maintenance schedule in the console and display a maintenance notice to users who enter a mini app that is under maintenance.

If you use the maintenance feature, users will see a screen that shows the maintenance status when they access the mini app.

{% hint style="info" %}
**Please make sure to check this.**

* Please set up the maintenance notice in advance before maintenance starts.
* After maintenance ends, be sure to change the status to 'Canceled.' The maintenance notice may continue to appear even after the mini app has returned to normal.
* When maintenance is in progress, requests to review the latest version release are not available.
  {% endhint %}

{% hint style="info" %}
**Handling users already playing**

Current maintenance settings are for the mini app **entry time**only display maintenance notices. For users who are already using the mini app, Apps in Toss also cannot determine their status.

Therefore, if maintenance is needed, **advance notice and separate measures**are required.

If communication with your own server is lost, we recommend implementing logic in the client to display an alert and close the mini app. For mini app closure, please refer to closeView.
{% endhint %}

### **Access emergency maintenance settings**

* **How to access:** Apps in Toss console → Select workspace → Select mini app → App info → top right  **`Announce emergency maintenance`**

<figure><img src="https://941686070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2FeCROsWcIqRbHSFWdBL9G%2Fimage.png?alt=media&amp;token=5cce3203-5c22-41e7-b7ba-29c15683d225" alt=""><figcaption></figcaption></figure>

### **Enter emergency maintenance schedule**

* **Maintenance start time / end time:** Please set the period during which maintenance will take place accurately.

<figure><img src="https://941686070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2FaW2BsVtVlB2Q2RoxqpSg%2Fimage.png?alt=media&amp;token=4fe7b35c-2f9b-4e80-b0dd-a106ae577f82" alt=""><figcaption></figcaption></figure>

### **End and edit emergency maintenance schedule**

* You can cancel the maintenance schedule by clicking the configured maintenance settings menu again.
* If you cancel it, the maintenance notice shown to users will disappear immediately.
* If you need to extend the schedule, press the 'Scheduled emergency maintenance' button to change the schedule.

<figure><img src="https://941686070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2FB1kHtYeUCPZXg8cVQagp%2Fimage.png?alt=media&amp;token=16acced4-938d-47d5-b735-d6c6a8dafef1" alt=""><figcaption></figcaption></figure>

### **Mini app display screen related to maintenance**

When emergency maintenance starts, when accessing the service **'The service is under maintenance'** (left screen) is displayed. \
On this screen, you can choose whether to agree to receive a notification when maintenance ends, and users who opt in to notifications will automatically receive a push/notification after the emergency maintenance ends. (right screen) \
This applies from Toss app version 5.253.0.

<figure><img src="https://941686070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2FexP9ZNOVu4uapx0ijHF7%2Fimage.png?alt=media&amp;token=a0947197-9eac-4781-ac4f-7f6e4bb178df" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developers-apps-in-toss.toss.im/guide/en/operation/check.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
