---
title: "Get contribution data by user id directly from the database."
method: GET
path: "/contributions/userId/{userId}"
tags: ["Contributions"]
---

# Get contribution data by user id directly from the database.

`GET /contributions/userId/{userId}`

Get contribution data by user id directly from the database. Returns a JSON result.

## Query parameters

- `userId` string, required
- `status` string
- `contributionType` string
- `updatedAt` string
- `targetNaId` string
- `createdAt` string
- `updatedAt` string
- `sortBy` 'contribution.asc' | 'contribution.desc' | 'createdAt.asc' | 'createdAt.desc' | 'updatedAt.asc' | 'updatedAt.desc'

## Response `200`

A body of response data containing contribution data from the database if any were found.

## Other responses

- `422` — Unprocessable Entity.

---

[API](https://skmtc.net/archives/apis/catalog-api.md) · [All operations](https://skmtc.net/archives/apis/catalog-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/archives/catalog-api/versions/cafec81df996/schema)
