diff --git a/docs/references/api.md b/docs/references/api.md
index a44208a38..cc8294d0c 100644
--- a/docs/references/api.md
+++ b/docs/references/api.md
@@ -1038,6 +1038,36 @@ Response (204):
## Settings
+### Get Appstore Config
+
+GET `/api/v1/settings/appstore_config` admin
+
+Response (200):
+```
+{
+ userId: , // the appstore userId
+ token: , // appstore token
+ cloudronId: // cloudron id
+}
+```
+
+### Set Appstore Config
+
+POST `/api/v1/settings/appstore_config` admin
+
+Sets the credentials used for the Cloudron Store.
+
+Request:
+```
+{
+ userId: , // the appstore userId
+ token: // token from appstore
+}
+```
+
+You can get the `userId` and `token` by sending a `/api/v1/login` POST request to `api.cloudron.io`
+with the `email` and `password` fields set in the request.
+
### Get auto update pattern
GET `/api/v1/settings/autoupdate_pattern` admin