> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/outsourcing/_countpending.md).

# \_countPending

Returns the amount of pending user link requests.

### Parameters

None.

### Example

```
FM_api('Outsourcing_countPending');
```

### Result

#### On Success

The amount of pending user link requests. For example:

```
{'0'}
```

#### On Failure

If the user is not logged in:

```
{'error':'not logged in'}
```
