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

# API

Reference for Playgama Bridge SDK modules.

The modules below are grouped by integration priority. If you're integrating Bridge for the first time, follow [Setup → Integration steps](/playgama/bridge-sdk-v1/bridge-sdk/setup.md#integration-steps) first, then use this reference for exact methods.

## Required for every game

* [**Platform**](/playgama/bridge-sdk-v1/bridge-sdk/api/platform.md) — language, platform ID, `sendMessage('game_ready')`, audio/pause/visibility state.
* [**Storage**](/playgama/bridge-sdk-v1/bridge-sdk/api/storage.md) — save and load player progress.
* [**Advertisement → Interstitial**](/playgama/bridge-sdk-v1/bridge-sdk/api/advertisement/interstitial.md) — required by all platforms for revenue share. Show at natural breakpoints (level transitions, game over).

## Extra monetization

* [**Advertisement → Rewarded**](/playgama/bridge-sdk-v1/bridge-sdk/api/advertisement/rewarded.md), [**Banner**](/playgama/bridge-sdk-v1/bridge-sdk/api/advertisement/banner.md), [**Advanced Banners**](/playgama/bridge-sdk-v1/bridge-sdk/api/advertisement/advanced-banners.md), [**AdBlock detection**](/playgama/bridge-sdk-v1/bridge-sdk/api/advertisement/adblock.md) — optional ad formats and diagnostics.
* [**Payments**](/playgama/bridge-sdk-v1/bridge-sdk/api/payments.md) — in-game purchases (consumable and permanent).

## Engagement

* [**Leaderboards**](/playgama/bridge-sdk-v1/bridge-sdk/api/leaderboards.md) — competitive scores (in-game, native, or native popup).
* [**Achievements**](/playgama/bridge-sdk-v1/bridge-sdk/api/achievements.md) — milestones and rewards.
* [**Social**](/playgama/bridge-sdk-v1/bridge-sdk/api/social.md) — share, invite friends, add to favorites, join community.

## Optional

* [**Player**](/playgama/bridge-sdk-v1/bridge-sdk/api/player.md) — authorization, ID, name, avatar.
* [**Device**](/playgama/bridge-sdk-v1/bridge-sdk/api/device.md) — device type (mobile / tablet / desktop / TV).
* [**Remote Config**](/playgama/bridge-sdk-v1/bridge-sdk/api/remote-config.md) — manage game settings without a release.

{% hint style="warning" %}
In unsupported environments, such as local development without a host platform, Bridge falls back to a mock platform. Methods return safe defaults (`false`, `reject`, etc.) instead of throwing, so you can develop against the SDK before publishing.
{% endhint %}
