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

# SDK tasks

## What is the SDK task?

The SDK task in Claimr is a fully developer-triggered task, designed for maximum flexibility. Unlike other tasks that rely on user-facing actions, SDK tasks are triggered manually from your own system using Claimr’s SDK.

Use SDK tasks to:

* Reward users for in-product actions (e.g., completing onboarding, watching a full tutorial, etc.)
* Trigger rewards based on events tracked in your own platform
* Seamlessly integrate claimr into your existing app or website

## Create an SDK task

To create this task in Claimr

<figure><img src="/files/6seG7kGVE5mEmdauBa5t" alt="" width="563"><figcaption></figcaption></figure>

1. Go to your quest and click **+ Create new task**.
2. Under the Category section, select General.
3. In the Groups list, choose **SDK.**
4. Then, select **SDK FrontEnd** from the list of task types.
5. Click **Continue** to proceed to task settings.

<figure><img src="/files/RTPnbrMXcxxzR0MNYl9w" alt="" width="563"><figcaption></figcaption></figure>

* **Completion points:** Set the number of points awarded once the user reaches the required event count.
* **Points multiplier (%):** Add a percentage-based bonus to the total reward. For example, a 5% multiplier increases the final reward by 5%.

## How the task is completed

To complete an SDK task, you must call the method:

```
complete_task(task_id)
```

Replace taskId with the actual ID of the SDK task. Once this method is successfully executed from your application, the task is marked as complete and the user is rewarded.

You can learn more about this method in our [SDK documentation](/sdk.md).

## Use case example

Let’s say you run a crypto wallet app. You want users to receive rewards only after they import an existing wallet and activate two-factor authentication. Once these steps are verified in your system, you can call the completeTask method via claimr SDK, and the user gets rewarded within the claimr quest.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.claimr.io/tasks/sdk-tasks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
