From 77da34840a59558967568c315bd7cfd01f581fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radovan=20Je=C4=8Dmenica?= <147708271+radovanjecmenica@users.noreply.github.com> Date: Wed, 30 Apr 2025 14:47:31 +0200 Subject: [PATCH] Update api.md --- website/docs/admin/settings/api.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/website/docs/admin/settings/api.md b/website/docs/admin/settings/api.md index a311c702..ae34b9bb 100644 --- a/website/docs/admin/settings/api.md +++ b/website/docs/admin/settings/api.md @@ -3,3 +3,29 @@ sidebar_position: 3 --- # API Access + +Use the API Access section to interact with the OpenPanel API directly from your dashboard. This tool allows you to test API calls, view request/response examples, monitor API logs, and experiment with endpoints in a simple interface. + +To begin: + +1. **Enable API Access** +Toggle the Enable API Access option to activate the interface for testing API requests. + +2. **Fill the Request Form** +Once enabled, you will see a form with the following fields: + +- **GET** – Choose the HTTP method (currently supports GET). + +- **URL** – Enter the API endpoint you wish to call. + +- **TOKEN** – Paste your authentication token for authorization. + +- **DATA** – (Optional) Provide any data or parameters required by the endpoint. + +3. Send Request +Click the Send Request button to execute the API call. + +5. View API Logs and Curl command +After making a request, the response, curl command and log details will appear at the bottom. This includes request info, server response, status codes, and any error messages. + +For full API reference and additional endpoints, please visit our detailed documentation: https://dev.openpanel.com/api/