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

# Achievement

Explore the list of API functions available in TypeScript for managing achievement, including detailed descriptions and usage examples.

{% hint style="warning" %}
To use service functions, first ensure that the service is activated before. You can see services by opening "Service Hub" From the game's dashboard header.&#x20;
{% endhint %}

### Get Available Achievements[​](https://docs.dynamicpixels.dev/achievements/plugin#get-available-achievements) <a href="#get-available-achievements" id="get-available-achievements"></a>

Retrieves a list of achievements for the current user based on the provided parameters.

```csharp
DynamicPixels.Services.Achievements.GetAchievements(): Promise<Achievement[]>
```

### Unlock an achievement[​](https://docs.dynamicpixels.dev/achievements/plugin#unlock-a-achievement) <a href="#unlock-a-achievement" id="unlock-a-achievement"></a>

Unlocks an achievement for the current user based on the provided parameters.

```csharp
DynamicPixels.Services.Achievements.UnlockAchievements(input: UnlockAchievementParams): Promise<void>
```
