---
title: "Create referral"
method: POST
path: "/v1/users/referral"
tags: ["Users"]
---

# Create referral

`POST /v1/users/referral`

## Request

- Base URL: `https://api.chat.ethora.com`
- URL: `https://api.chat.ethora.com/v1/users/referral`
- Auth: HTTP bearer

**Auth**: User JWT

post new refferal

## Request body

- object
  - `referrerId` string: User ID of the inviter. Recorded on the current user's record; used for referral analytics / rewards.

## Response `200`

```
  { success: true }
```

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: ``` { error: string } ```
- `500`: Internal Server Error

---

[API](https://skmtc.dev/ethora/apis/platform-api.md) · [All operations](https://skmtc.dev/ethora/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ethora/apis/platform-api/revisions/01b6e64378ee?raw)
