Introduction

We offer a powerful Web API to enable businesses and developers to perform fast, on-demand conversions of websites and web applications into desktop applications. In addition to converting websites and web applications, converted desktop applications can be conveniently and easily updated via our API.

By using our API, businesses and developers agree to our Privacy Policy and our Terms of Use.

Licenses

The use of our API is possible with both free and paid licenses. Please note that the conversion of websites and web applications is only available with paid licenses.

API Call

To convert a website or web application into a desktop application, or to update an already converted desktop application, please send a request to https://website2desktop.com/api-call with valid API parameters.

When you convert a website or web application into a desktop application via our API, two download links (setup file & license file) will be sent to the specified email address within a few seconds after a valid API call. When you update a converted desktop application via our API, the selected settings will be updated within a few seconds after a valid API call.

For a valid API call, success will be returned. In case of an invalid API call, a specific error code such as e101 will be returned. You can find all possible error codes here.

API Parameters

To convert a website or web application into a desktop application, please use the type create. To update the settings of an existing desktop application, please use the type update. Further details about most parameters can be found on the main page.

Name
Possible Values
Notes
type create, update -
license [string] 53 characters
password [string] only if type = update; password stored in the customer area
lang en -
firstname [string] -
lastname [string] -
email [string] -
app_type f, p f = Free, p = Pro
app_icon [string] URL; PNG file only; maximum 1 MB
app_name [string] -
app_url [string] URL
app_os 1, 2, 3 1 = Windows, 2 = MacOS (Universal Binary), 3 = MacOS (Silicon)
app_windowsize 1, 2, 3 1 = Custom size, 2 = Maximized, 3 = Fullscreen
app_windowsize_custom_width [number] Only if app_windowsize = 1, otherwise leave empty
app_windowsize_custom_height [number] Only if app_windowsize = 1, otherwise leave empty
app_change_size 1, 2 1 = Yes, 2 = No
app_window_minimize 1, 2 1 = Yes, 2 = No
app_always_front 1, 2 1 = Yes, 2 = No
app_deactivate_minimize 1, 2 1 = Yes, 2 = No
app_deactivate_maximize 1, 2 1 = Yes, 2 = No
app_block_copy 1, 2 1 = Yes, 2 = No
app_block_paste 1, 2 1 = Yes, 2 = No
app_block_multistart 1, 2 1 = Yes, 2 = No
browser_deactivate_scrollbars 1, 2 1 = Yes, 2 = No
browser_incognito 1, 2 1 = Yes, 2 = No
browser_zoom 1, 2 1 = Yes, 2 = No
browser_zoom_power [number] Only if browser_zoom = 1, otherwise leave empty; number between 0.5 - 3.0
browser_deactivate_scroll_animation 1, 2 1 = Yes, 2 = No
browser_block_audio 1, 2 1 = Yes, 2 = No
browser_block_images 1, 2 1 = Yes, 2 = No
browser_block_cookies 1, 2 1 = Yes, 2 = No
browser_block_local_storage 1, 2 1 = Yes, 2 = No
browser_block_plugins 1, 2 1 = Yes, 2 = No
browser_block_javascript 1, 2 1 = Yes, 2 = No
browser_block_insecure_content 1, 2 1 = Yes, 2 = No
browser_block_domains 1, 2 1 = Yes, 2 = No
more_password 1, 2 1 = Yes, 2 = No
more_password_detail [string] Only if more_password = 1, otherwise leave empty
more_trial 1, 2 1 = Yes, 2 = No
more_trial_detail [number] Only if more_trial = 1, otherwise leave empty
more_splash 1, 2 1 = Yes, 2 = No
more_splash_file [string] URL; only if more_splash = 1, otherwise leave empty; PNG file only; maximum 1 MB
more_statistics 1, 2 1 = Yes, 2 = No
more_statistics_endpoint [string] URL; only if more_statistics = 1, otherwise leave empty

API Errors

If an API call fails, an error code in the format e### will be returned. Below you can find a complete list of possible error codes.

Error Code
Meaning
e100Internal, critical error
e101Limit of 20 requests per minute exceeded
e102Urgent maintenance work
e103[Reserved for future updates]
e104[Reserved for future updates]
e105[Reserved for future updates]
e106[Reserved for future updates]
e107[Reserved for future updates]
e108[Reserved for future updates]
e109[Reserved for future updates]
e110Invalid parameter: type
e111Invalid parameter: app_type
e112Invalid parameter: license
e113Invalid parameter: lang
e114Invalid parameter: app_icon
e115Invalid parameter: firstname
e116Invalid parameter: lastname
e117Invalid parameter: email
e118Invalid parameter: app_name
e119Invalid parameter: app_url
e120Invalid parameter: app_os
e121Invalid parameter: app_windowsize
e122Invalid parameter: app_change_size
e123Invalid parameter: app_window_minimize
e124Invalid parameter: app_always_front
e125Invalid parameter: app_deactivate_minimize
e126Invalid parameter: app_deactivate_maximize
e127Invalid parameter: browser_deactivate_scrollbars
e128Invalid parameter: browser_incognito
e129Invalid parameter: browser_zoom
e130Invalid parameter: browser_zoom_power
e131Invalid parameter: more_password
e132Invalid parameter: more_password_detail
e133Invalid parameter: more_trial
e134Invalid parameter: more_trial_detail
e135Invalid parameter: more_splash
e136Invalid parameter: more_splash_file
e137Invalid parameter: browser_block_cookies
e138Invalid parameter: app_block_copy
e139Invalid parameter: app_block_paste
e140Invalid parameter: app_block_multistart
e141Invalid parameter: browser_block_audio
e142Invalid parameter: browser_block_javascript
e143Invalid parameter: browser_block_local_storage
e144Invalid parameter: browser_block_plugins
e145Invalid parameter: browser_block_insecure_content
e146Invalid parameter: browser_deactivate_scroll_animation
e147Invalid parameter: browser_block_images
e148Invalid parameter: browser_block_domains
e149Invalid parameter: more_statistics
e150Invalid parameter: more_statistics_endpoint

API Example 1

Example of an API call of type create.

https://website2desktop.com/api-call?license=[your-license]&password=&type=create&lang=en&firstname=John&lastname=Doe&email=john@example.com&app_type=p&app_icon=https://placehold.co/400x400.png&app_name=Test&app_url=https://www.example.com&app_os=1&app_windowsize=2&app_change_size=1&app_window_minimize=2&app_always_front=2&app_deactivate_minimize=2&app_deactivate_maximize=2&browser_deactivate_scrollbars=2&browser_incognito=2&browser_zoom=2&more_password=1&more_password_detail=123456789&more_trial=2&more_splash=1&more_splash_file=https://placehold.co/400x400.png&app_block_copy=1&app_block_paste=2&browser_deactivate_scroll_animation=2&browser_block_audio=2&browser_block_images=2&browser_block_cookies=2&browser_block_local_storage=2&browser_block_plugins=2&browser_block_javascript=2&browser_block_insecure_content=1&browser_block_domains=1&app_block_multistart=1&more_statistics=1&more_statistics_endpoint=https://example.com/endpoint

API Example 2

Example of an API call of type update.

https://website2desktop.com/api-call?license=[your-license]&password=[your-password]&type=update&lang=en&firstname=John&lastname=Doe&email=john@example.com&app_type=p&app_icon=https://placehold.co/400x400.png&app_name=Test&app_url=https://www.example.com&app_os=1&app_windowsize=2&app_change_size=1&app_window_minimize=2&app_always_front=2&app_deactivate_minimize=2&app_deactivate_maximize=2&browser_deactivate_scrollbars=2&browser_incognito=2&browser_zoom=2&more_password=1&more_password_detail=123456789&more_trial=2&more_splash=1&more_splash_file=https://placehold.co/400x400.png&app_block_copy=1&app_block_paste=2&browser_deactivate_scroll_animation=2&browser_block_audio=2&browser_block_images=2&browser_block_cookies=2&browser_block_local_storage=2&browser_block_plugins=2&browser_block_javascript=2&browser_block_insecure_content=1&browser_block_domains=1&app_block_multistart=1&more_statistics=2&more_statistics_endpoint=

Do you need support?

We’re happy to help you integrate our API. Please contact our customer support.