> 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/_getlinkcode.md).

# \_getLinkCode

Returns the link code that allows another FieldMotion account to link with yours.

### Parameters

None.

### Result

### Example

```
FM_api('Outsourcing_getLinkCode');
```

#### On Success

The link code. For example:

```
{'12345678'}
```

#### On Failure

If the user is not logged in:

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