> 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/codes/invite-codes/claim-invite-code-task.md).

# Claim invite code task

1. **Use general settings:** \
   Follow the [Task settings](/tasks/task-settings.md) steps to set up the general settings for your task. The article includes defining the task name, description, rewards, and other stages.
2. **Task type selection:** \
   During the task type stage, select <mark style="color:green;">**Common**</mark> from the available options and choose <mark style="color:green;">**Claim invite code**</mark> as the task action from the list.

<figure><img src="/files/JMHWjDQ4eKwnZEyBPizD" alt="" width="375"><figcaption><p>Task type stage</p></figcaption></figure>

3. **Number of codes to claim:** \
   In the task settings section, specify the maximum number of invite codes a single user can claim for this task. You can increase it up to 25 if you want to allow users to claim multiple invite codes.

<figure><img src="/files/GzpMG36zgj3Tlp2gVFcw" alt="" width="375"><figcaption><p>Number of codes to claim</p></figcaption></figure>

4. **Finish setup:** \
   Fill out the remaining task settings according to your preferences and lick the **Save changes** to confirm your task configuration.
5. **Preview your task:** \
   Click <mark style="color:green;">**Preview**</mark> to see how your task will look to users on desktop, tablet, and mobile devices.

<div><figure><img src="/files/9v8TFNv7dpt1uF3nokcg" alt=""><figcaption><p>Task preview before completion </p></figcaption></figure> <figure><img src="/files/UuhtHVZJlv71IPH0l7sO" alt=""><figcaption><p>Task prewview after completion</p></figcaption></figure></div>


---

# 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/codes/invite-codes/claim-invite-code-task.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.
