> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "Give Item to User"
description: "Gives a marketplace item to the specified user."
api: "POST /give-for-free"
gridGap: 30
---

<Aside full>
  <RequestExample>
    ```bash title="cURL" lines=false
    curl -X POST "https://user-api.neverlose.cc/api/market/give-for-free" \
      -H "Content-Type: application/json" \
      -d '{
      "user_id": 1,
      "id": 1338,
      "username": "darth",
      "code": "E3yugw",
      "signature": "string"
    }'
    ```
  </RequestExample>
</Aside>

<OpenAPIEndpoint {...{"method":"post","path":"/give-for-free","summary":"Give Item to User","description":"Gives a marketplace item to the specified user.","parameters":[],"requestBody":{"required":true,"contentType":"application/json","schema":{"type":"object","required":["user_id","id","username","code","signature"],"properties":{"user_id":{"type":"integer","description":"Your user id (from the market API settings page)."},"id":{"description":"Unique request id (prevents duplicate execution).","oneOf":[{"type":"integer"},{"type":"string"}]},"username":{"type":"string","description":"Username that will receive this item."},"code":{"type":"string","description":"Market code of the item you want to give."},"signature":{"type":"string","description":"Request signature."}}},"examples":[]},"responses":[{"status":"200","description":"Item given","schema":{"type":"object","properties":{"success":{"type":"boolean"},"succ":{"type":"boolean"}}},"examples":[]}],"security":[],"servers":[{"url":"https://user-api.neverlose.cc/api/market","description":"Production"}],"badges":[]}} />
