---
schema_version: "1"
id: 320a09dc424a134e172422baaa17e8698a66fb7a37e6f85126c7a0a117e42ff7
title: Work with App Requests
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforce-slack-sdk/apex-slack-sdk/guides/apex_ref/apex_ref_apprequest.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/apex_ref_apprequest.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 47f3ca31fca12c7572aab427cb654a85b9d6153d5595d796b05ebc14a07a4389
products:
  - Apex SDK for Slack (Beta)
---
# Work with App Requests

The following are Apex classes to work with an app request.

## AppIcons Class

Represents an app icon image in different sizes.

### AppIcons Methods

The following are methods for `AppIcons`.

#### getImage32()

Gets the URL of the image in 32px by 32px size.

**Signature**

```java
public String getImage32()
```

**Return Value**

Type: String

#### getImage36()

Gets the URL of the image in 36px by 36px size.

**Signature**

```java
public String getImage36()
```

**Return Value**

Type: String

#### getImage48()

Gets the URL of the image in 48px by 48px size.

**Signature**

```java
public String getImage48()
```

**Return Value**

Type: String

#### getImage64()

Gets the URL of the image in 64px by 64px size.

**Signature**

```java
public String getImage64()
```

**Return Value**

Type: String

#### getImage72()

Gets the URL of the image in 72px by 72px size.

**Signature**

```java
public String getImage72()
```

**Return Value**

Type: String

#### getImage96()

**Signature**

Gets the URL of the image in 96px by 96px size.

```java
public String getImage96()
```

**Return Value**

Type: String

#### getImage128()

Gets the URL of the image in 128px by 128px size.

**Signature**

```java
public String getImage128()
```

**Return Value**

Type: String

#### getImage192()

Gets the URL of the image in 192px by 192px size.

**Signature**

```java
public String getImage192()
```

**Return Value**

Type: String

#### getImage512()

Gets the URL of the image in 512px by 512px size.

**Signature**

```java
public String getImage512()
```

**Return Value**

Type: String

#### getImage1024()

Gets the URL of the image in 1024px by 1024px size.

**Signature**

```java
public String getImage1024()
```

**Return Value**

Type: String

#### getImageOriginal()

Gets the URL of the original image.

**Signature**

```java
public String getImageOriginal()
```

**Return Value**

Type: String

#### setImage32(image32)

Sets the URL of the image in 32px by 32px size.

**Signature**

```java
public void setImage32(String image32)
```

**Parameters**

_image32_

Type: String

**Return Value**

Type: void

#### setImage36(image36)

Sets the URL of the image in 36px by 36px size.

**Signature**

```java
public void setImage36(String image36)
```

**Parameters**

_image36_

Type: String

**Return Value**

Type: void

#### setImage48(image48)

Sets the URL of the image in 48px by 48px size.

**Signature**

```java
public void setImage48(String image48)
```

**Parameters**

_image48_

Type: String

**Return Value**

Type: void

#### setImage64(image64)

Sets the URL of the image in 64px by 64px size.

**Signature**

```java
public void setImage64(String image64)
```

**Parameters**

_image64_

Type: String

**Return Value**

Type: void

#### setImage72(image72)

Sets the URL of the image in 72px by 72px size.

**Signature**

```java
public void setImage72(String image72)
```

**Parameters**

_image72_

Type: String

**Return Value**

Type: void

#### setImage96(image96)

Sets the URL of the image in 96px by 96px size.

**Signature**

```java
public void setImage96(String image96)
```

**Parameters**

_image96_

Type: String

**Return Value**

Type: void

#### setImage128(image128)

Sets the URL of the image in 128px by 128px size.

**Signature**

```java
public void setImage128(String image128)
```

**Parameters**

_image128_

Type: String

**Return Value**

Type: void

#### setImage192(image192)

Sets the URL of the image in 192px by 192px size.

**Signature**

```java
public void setImage192(String image192)
```

**Parameters**

_image192_

Type: String

**Return Value**

Type: void

#### setImage512(image512)

Sets the URL of the image in 512px by 512px size.

**Signature**

```java
public void setImage512(String image512)
```

**Parameters**

_image512_

Type: String

**Return Value**

Type: void

#### setImage1024(image1024)

Sets the URL of the image in 1024px by 1024px size.

**Signature**

```java
public void setImage1024(String image1024)
```

**Parameters**

_image1024_

Type: String

**Return Value**

Type: void

#### setImageOriginal(imageOriginal)

**Signature**

```java
public void setImageOriginal(String imageOriginal)
```

**Parameters**

_imageOriginal_

Type: String

**Return Value**

Type: void

---

## AppRequest Class

Represents an app request.

### AppRequest Methods

The following are methods for `AppRequest`.

#### getApp()

**Signature**

```java
public Slack.RequestedApp getApp()
```

**Return Value**

Type: [Slack.RequestedApp](#requestedapp-class)

#### getDateCreated()

**Signature**

```java
public Integer getDateCreated()
```

**Return Value**

Type: Integer

#### getId()

**Signature**

```java
public String getId()
```

**Return Value**

Type: String

#### getIsUserAppCollaborator()

**Signature**

```java
public Boolean getIsUserAppCollaborator()
```

**Return Value**

Type: Boolean

#### getMessage()

**Signature**

```java
public String getMessage()
```

**Return Value**

Type: String

#### getPreviousResolution()

**Signature**

```java
public Slack.AppRequest.PreviousResolution getPreviousResolution()
```

**Return Value**

Type: Slack.AppRequest.PreviousResolution

#### getScopes()

**Signature**

```java
public List<Slack.AppScope> getScopes()
```

**Return Value**

Type: List<[Slack.AppScope](#appscope-class)>

#### getTeam()

**Signature**

```java
public Slack.AppRequest.Team getTeam()
```

**Return Value**

Type: Slack.AppRequest.Team

#### getUser()

**Signature**

```java
public Slack.AppRequest.User getUser()
```

**Return Value**

Type: Slack.AppRequest.User

#### setApp(app)

**Signature**

```java
public void setApp(Slack.RequestedApp app)
```

**Parameters**

_app_

Type: [Slack.RequestedApp](#requestedapp-class)

**Return Value**

Type: void

#### setDateCreated(dateCreated)

**Signature**

```java
public void setDateCreated(Integer dateCreated)
```

**Parameters**

_dateCreated_

Type: Integer

**Return Value**

Type: void

#### setId(id)

**Signature**

```java
public void setId(String id)
```

**Parameters**

_id_

Type: String

**Return Value**

Type: void

#### setIsUserAppCollaborator(isUserAppCollaborator)

**Signature**

```java
public void setIsUserAppCollaborator(Boolean isUserAppCollaborator)
```

**Parameters**

_isUserAppCollaborator_

Type: Boolean

**Return Value**

Type: void

#### setMessage(message)

**Signature**

```java
public void setMessage(String message)
```

**Parameters**

_message_

Type: String

**Return Value**

Type: void

#### setPreviousResolution(previousResolution)

**Signature**

```java
public void setPreviousResolution(Slack.AppRequest.PreviousResolution previousResolution)
```

**Parameters**

_previousResolution_

Type: Slack.AppRequest.PreviousResolution

**Return Value**

Type: void

#### setScopes(scopes)

**Signature**

```java
public void setScopes(List<Slack.AppScope> scopes)
```

**Parameters**

_scopes_

Type: List<[Slack.AppScope](#appscope-class)>

**Return Value**

Type: void

#### setTeam(team)

**Signature**

```java
public void setTeam(Slack.AppRequest.Team team)
```

**Parameters**

_team_

Type: Slack.AppRequest.Team

**Return Value**

Type: void

#### setUser(user)

**Signature**

```java
public void setUser(Slack.AppRequest.User user)
```

**Parameters**

_user_

Type: Slack.AppRequest.User

**Return Value**

Type: void

---

## AppRequest.PreviousResolution Class

### AppRequest.PreviousResolution Methods

The following are methods for `AppRequest.PreviousResolution`.

#### getScopes()

**Signature**

```java
public List<Slack.AppScope> getScopes()
```

**Return Value**

Type: List<[Slack.AppScope](#appscope-class)>

#### getStatus()

**Signature**

```java
public String getStatus()
```

**Return Value**

Type: String

#### setScopes(scopes)

**Signature**

```java
public void setScopes(List<Slack.AppScope> scopes)
```

**Parameters**

_scopes_

Type: List<[Slack.AppScope](#appscope-class)>

**Return Value**

Type: void

#### setStatus(status)

**Signature**

```java
public void setStatus(String status)
```

**Parameters**

_status_

Type: String

**Return Value**

Type: void

---

## AppRequest.Team Class

### AppRequest.Team Methods

The following are methods for `AppRequest.Team`.

#### getDomain()

**Signature**

```java
public String getDomain()
```

**Return Value**

Type: String

#### getId()

**Signature**

```java
public String getId()
```

**Return Value**

Type: String

#### getName()

**Signature**

```java
public String getName()
```

**Return Value**

Type: String

#### setDomain(domain)

**Signature**

```java
public void setDomain(String domain)
```

**Parameters**

_domain_

Type: String

**Return Value**

Type: void

#### setId(id)

**Signature**

```java
public void setId(String id)
```

**Parameters**

_id_

Type: String

**Return Value**

Type: void

#### setName(name)

**Signature**

```java
public void setName(String name)
```

**Parameters**

_name_

Type: String

**Return Value**

Type: void

---

## AppRequest.User Class

### AppRequest.User Methods

The following are methods for `AppRequest.User`.

#### getEmail()

**Signature**

```java
public String getEmail()
```

**Return Value**

Type: String

#### getId()

**Signature**

```java
public String getId()
```

**Return Value**

Type: String

#### getName()

**Signature**

```java
public String getName()
```

**Return Value**

Type: String

#### setEmail(email)

**Signature**

```java
public void setEmail(String email)
```

**Parameters**

_email_

Type: String

**Return Value**

Type: void

#### setId(id)

**Signature**

```java
public void setId(String id)
```

**Parameters**

_id_

Type: String

**Return Value**

Type: void

#### setName(name)

**Signature**

```java
public void setName(String name)
```

**Parameters**

_name_

Type: String

**Return Value**

Type: void

---

## AppScope Class

### AppScope Methods

The following are methods for `AppScope`.

#### getDescription()

**Signature**

```java
public String getDescription()
```

**Return Value**

Type: String

#### getName()

**Signature**

```java
public String getName()
```

**Return Value**

Type: String

#### getTokenType()

**Signature**

```java
public String getTokenType()
```

**Return Value**

Type: String

#### isSensitive()

**Signature**

```java
public Boolean isSensitive()
```

**Return Value**

Type: Boolean

#### setDescription(description)

**Signature**

```java
public void setDescription(String description)
```

**Parameters**

_description_

Type: String

**Return Value**

Type: void

#### setName(name)

**Signature**

```java
public void setName(String name)
```

**Parameters**

_name_

Type: String

**Return Value**

Type: void

#### setSensitive(sensitive)

**Signature**

```java
public void setSensitive(Boolean sensitive)
```

**Parameters**

_sensitive_

Type: Boolean

**Return Value**

Type: void

#### setTokenType(tokenType)

**Signature**

```java
public void setTokenType(String tokenType)
```

**Parameters**

_tokenType_

Type: String

**Return Value**

Type: void

---

## RequestedApp Class

Represents a requested app.

### RequestedApp Methods

The following are methods for `RequestedApp`.

#### getAdditionalInfo()

**Signature**

```java
public String getAdditionalInfo()
```

**Return Value**

Type: String

#### getAppDirectoryUrl()

**Signature**

```java
public String getAppDirectoryUrl()
```

**Return Value**

Type: String

#### getAppHomepageUrl()

**Signature**

```java
public String getAppHomepageUrl()
```

**Return Value**

Type: String

#### getDescription()

**Signature**

```java
public String getDescription()
```

**Return Value**

Type: String

#### getHelpUrl()

**Signature**

```java
public String getHelpUrl()
```

**Return Value**

Type: String

#### getIcons()

**Signature**

```java
public Slack.AppIcons getIcons()
```

**Return Value**

Type: [Slack.AppIcons](#appicons-class)

#### getId()

**Signature**

```java
public String getId()
```

**Return Value**

Type: String

#### getName()

**Signature**

```java
public String getName()
```

**Return Value**

Type: String

#### getPrivacyPolicyUrl()

**Signature**

```java
public String getPrivacyPolicyUrl()
```

**Return Value**

Type: String

#### isAppDirectoryApproved()

**Signature**

```java
public Boolean isAppDirectoryApproved()
```

**Return Value**

Type: Boolean

#### isInternal()

**Signature**

```java
public Boolean isInternal()
```

**Return Value**

Type: Boolean

#### setAdditionalInfo(additionalInfo)

**Signature**

```java
public void setAdditionalInfo(String additionalInfo)
```

**Parameters**

_additionalInfo_

Type: String

**Return Value**

Type: void

#### setAppDirectoryApproved(appDirectoryApproved)

**Signature**

```java
public void setAppDirectoryApproved(Boolean appDirectoryApproved) setAppDirectoryUrl()
```

**Parameters**

_appDirectoryApproved_

Type: Boolean

**Return Value**

Type: void

#### setAppHomepageUrl(appHomepageUrl)

**Signature**

```java
public void setAppHomepageUrl(String appHomepageUrl)
```

**Parameters**

_appHomepageUrl_

Type: String

**Return Value**

Type: void

#### setDescription(description)

**Signature**

```java
public void setDescription(String description)
```

**Parameters**

_description_

Type: String

**Return Value**

Type: void

#### setHelpUrl(helpUrl)

**Signature**

```java
public void setHelpUrl(String helpUrl)
```

**Parameters**

_helpUrl_

Type: String

**Return Value**

Type: void

#### setIcons(icons)

**Signature**

```java
public void setIcons(Slack.AppIcons icons)
```

**Parameters**

_icons_

Type: [Slack.AppIcons](#appicons-class)

**Return Value**

Type: void

#### setId(id)

**Signature**

```java
public void setId(String id)
```

**Parameters**

_id_

Type: String

**Return Value**

Type: void

#### setInternal(internal)

**Signature**

```java
public void setInternal(Boolean internal)
```

**Parameters**

_internal_

Type: Boolean

**Return Value**

Type: void

#### setName(name)

**Signature**

```java
public void setName(String name)
```

**Parameters**

_name_

Type: String

**Return Value**

Type: void

#### setPrivacyPolicyUrl(privacyPolicyUrl)

**Signature**

```java
public void setPrivacyPolicyUrl(String privacyPolicyUrl)
```

**Parameters**

_privacyPolicyUrl_

Type: String

**Return Value**

Type: void
