---
title: "App"
description: "App"
url: "https://www.contentstack.com/docs/developers/sdks/marketplace-sdk/java/reference/app"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-22"
---

# App

## App

App/Manifest is used for creating/updating/deleting an app in your organization.

**Example:**

```
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID").host("marketplace.contentstack.io").build(); App app = marketplace.app("installationId"); (or) App app = marketplace.app();
```

## addParam

The addParam method adds a header with the specified key and value to the current location and returns the updated location.

**Specified by:**

**addParam** in interface **BaseImplementation<App>**

```
Throws:
java.lang.NullPointerException - if the key or value argument is null
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marktetplace.contentstack.io").build(); 
App app = marketplace.app().addParam("key","value");
```

The key of the header to be added

The value of the header to be added

## addHeader

The addHeader method adds a header with the specified key and value to this location and returns the updated location.

**Specified by:**

**addHeader** in interface **BaseImplementation<App>**

```
Throws:
java.lang.NullPointerException - if the key or value argument is null
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
App app = marketplace.app().addHeader("key","value");
```

The key of the header to be added

The value of the header to be added

## addParams

The addParams method adds the specified parameters to this location and returns the updated location.

**Specified by:**

addParams

```
Throws:
java.lang.NullPointerException - if the params argument is null
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
HashMap param = new HashMap(); 
App app = marketplace.app().addParams(param);
```

The parameters to be added

## addHeaders

The addHeaders method adds the specified parameters to this location and returns the updated location.

**Specified by:**

**addHeaders** provides support to add custom header to the request.

```
Throws:
java.lang.NullPointerException - if the params argument is null
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
HashMap param = new HashMap(); 
App app = marketplace.app().addHeaders(param);
```

The parameters to be added

## createInstallation

The createInstallation method creates an installation call.

```
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
JSONObject body = new JSONObject(); 
App app = marketplace.app().createInstallation(body); 
Call response = app.execute();
```

The body of the call

## updateVersion

The updateVersion method updates the version call.

```
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
JSONObject body = new JSONObject(); 
App app = marketplace.app().updateVersion(body); 
Call response = app.execute();
```

The body of the call

## findAppAuthorizations

The findAppAuthorizations method finds the app authorizations call.

```
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
App app = marketplace.app().findAppAuthorizations(); 
Call response = app.execute();
```

## deleteAuthorization

The deleteAuthorization method deletes the authorization call.

```
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("api.contentstack.io").build(); 
App app = marketplace.app().deleteAuthorization("authorizationUid"); 
Call response = app.execute();
```

UID of the authorization call

## findAppInstallations

The findAppInstallations method finds the app installation call.

```
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
App app = marketplace.app().findAppInstallations(); 
Call response = app.execute();
```

## findApps

The findApps method finds the app's call.

```
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
App app = marketplace.app().findApps(); 
Call response = app.execute();
```

## createApp

The createApp method creates an app call.

```
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
JSONObject body = new JSONObject(); 
App app = marketplace.app().createApp(body); 
Call response = app.execute();
```

The body of the call

## fetchApp

The fetchApp method fetches the app call.

```
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
App app = marketplace.app().fetchApp(); 
Call response = app.execute();
```

## updateApp

The updateApp method updates the app call.

```
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
JSONObject body = new JSONObject(); 
App app = marketplace.app().updateApp(); 
Call response = app.execute();
```

The body of the call

## findAppRequests

The findAppRequests method retrieves a call to list app requests with specified headers, app UID, and parameters.

```
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
App app = marketplace.app().findAppRequests(); 
Call response = app.execute();
```

## oauth

The oauth method retrieves an instance of oauth

```
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
Oauth oauth = marketplace.app().oauth("id");
```

The UID of the app

## hosting

The hosting method retrieves an instance of hosting.

```
Example:
Marketplace marketplace = new Marketplace.Builder("ORGANIZATION_UID") .host("marketplace.contentstack.io").build(); 
Hosting hosting = marketplace.app().hosting("appId");
```

The UID of the app

UID of the organization

UID of the app

## App | Java Marketplace SDK | Contentstack

App lets you create, update, and delete an app or manifest in your organization using the Contentstack Java Marketplace SDK.