Skip to main content

Create Application

Creates a new application with optional parameters including description, logo, and privacy settings.

Endpoint

POST /app/create

Authentication

HeaderValue
AuthorizationBearer <jwt_token>

Request Body

The request uses multipart/form-data format with the following fields:

FieldTypeRequiredDescription
appstringThe name of the application to be created
filefileLogo of the application
descriptionstringApp description
privatebooleanLock app (if selected, the app will be stored in a private bucket and cannot be changed)

Example Request

cURL

curl --location 'http://localhost:9000/app/create' \
--header 'Authorization: Bearer <jwt_token>' \
--form 'data="{\"app\":\"appName\"}"'

Response

Success Response (200 OK)

{
"createAppResult.Created": "641459ffb8760d74164e7e3c"
}

Response Fields

FieldTypeDescription
createAppResult.CreatedstringThe unique identifier (ID) of the created application

Notes

  • The private field is irreversible - once set to true, the app cannot be made public later
  • The file field accepts common image formats (PNG, JPG, etc.)
  • The description field is optional but recommended for better app management