---
title: "getApprovals"
canonical: "https://support.appfire.com/space/PSJC/622298390/getApprovals"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Returns a list of approvals structures

Returns a list of approvals structures

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getApprovals(requestId_or_Key) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| requestId_or_Key | String | Yes | The ID or Key of the customer request for which the approvals will be retrieved |

## Return Type

**[JSMApproval[]](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/435028065)**

## Example

```javascript
return getApprovals("SM-1");
```

Returns a list of JSMApproval structures.

## See also

> Macro (contentbylabel)