> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# getPlatformId

> Function getPlatformId in the Baileys API.

> **getPlatformId**(`browser`): `string`

Defined in: [src/Utils/browser-utils.ts:29](https://github.com/WhiskeySockets/Baileys/blob/master/src/Utils/browser-utils.ts#L29)

## Parameters

### browser

`string`

## Returns

`string`
