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

# Get By Uid Of Current User

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

## Request

- The document declares no server URL.
- Auth: OpenID Connect (`http://localhost:6999/realms/agate/.well-known/openid-configuration`, scopes: `agridata.ch.Agridata_Datenbezueger`)

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

## Response `200`

OK

- BurRegisterOrganisationDto
  - `name` string
  - `legalName` string
  - `uid` string
  - `address` BurRegisterAddressDto
    - `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

## Changes

- **2026-10-19** `75957f6bdc66`: 1 info
  - endpoint added
- **2026-10-06** `82a5a1c50f30`: 1 breaking
  - api path removed without deprecation
- **2026-10-01** `ae5c7d8cdb15`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agridata/apis/agridata-ch-api/changes/api/bur-register/v1/search/get.md)

---

[API](https://skmtc.dev/agridata/apis/agridata-ch-api.md) - [All operations](https://skmtc.dev/agridata/apis/agridata-ch-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agridata/apis/agridata-ch-api/revisions/48ab7e1541c3?raw)
