---
title: "GET /users/{userId}/referral-acquisition-history"
method: GET
path: "/users/{userId}/referral-acquisition-history"
tags: ["Referrals"]
---

# GET /users/{userId}/referral-acquisition-history

`GET /users/{userId}/referral-acquisition-history`

Returns the history of referral acquisition for the provided user id.

## Path parameters

- `userId` string, required

## Query parameters

- `days` integer

## Headers

- `Authorization` string, required
- `X-Account-Metadata` string

## Response `200`

OK

- UsersReferralAcquisition[]
  - `date` string
  - `t1` integer
  - `t2` integer

## Other responses

- `400` — if validations fail
- `401` — if not authorized
- `403` — if not allowed
- `422` — if syntax fails
- `500` — Internal Server Error
- `504` — if request times out

---

[API](https://skmtc.net/ice-blockchain/apis/user-accounts-user-devices-user-statistics-api.md) · [All operations](https://skmtc.net/ice-blockchain/apis/user-accounts-user-devices-user-statistics-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ice-blockchain/user-accounts-user-devices-user-statistics-api/revisions/34d6aba6606c/schema)
