---
title: "Get By Uid Of Current User"
method: GET
path: "/api/uid-register/v1/search"
tags: ["UID Register Search"]
---

# Get By Uid Of Current User

`GET /api/uid-register/v1/search`

Retrieves organisation details from the UID register for the UID associated with the currently authenticated consumer. Only accessible to users with the consumer role.

## Response `200`

OK

- UidRegisterOrganisationDto
  - `name` string
  - `legalName` string
  - `uid` string
  - `address` UidRegisterAddressDto
    - `street` string
    - `zip` string
    - `city` string
    - `country` string

## Other responses

- `401` — Not Authorized
- `403` — Not Allowed
- `404` — The resource or element was not found
- `500` — Internal server error: unexpected error

---

[API](https://skmtc.net/agridata/apis/agridata-ch-api.md) · [All operations](https://skmtc.net/agridata/apis/agridata-ch-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agridata/agridata-ch-api/revisions/c478ae39b261/schema)
