# Officers on a date

`GET https://ulawk.com/api/v1/sirketler/{sirket_id}/yetkililer/`

Officers in office on the given date (title, representation, term, source). Without `tarih`, the current officers. Use it to check whether a signatory was authorised on that date.

## Authentication

Two headers on every request: `X-API-Key` and `X-API-Secret`.

## Path parameters

- `sirket_id` (integer | string, required) — Company id (`id` from `/api/v1/sirketler/`).

## Query parameters

- `tarih` (string (date)) — YYYY-MM-DD.

## Response

### 200 — Officers.

- `sirket` (SirketOzet, zorunlu)
- `sirket.id` (integer | string, zorunlu) — Company id: numeric with a live key (e.g. 1234); a DENEME-… string with a sandbox key.
- `sirket.unvan` (string, null, zorunlu) — Registered name.
- `sirket.mudurluk` (string, null, zorunlu) — Registry office (e.g. İSTANBUL).
- `sirket.sicil_no` (string, null, zorunlu) — Trade registry number.
- `tarih` (string, zorunlu) — Requested date or "güncel" (current).
- `adet` (integer, zorunlu)
- `profil_hazir` (boolean, zorunlu)
- `yetkililer[]` (Yetkili[], zorunlu)
- `yetkililer[].isim` (string, null, zorunlu)
- `yetkililer[].sifat` (string, null, zorunlu) — Title in the notice.
- `yetkililer[].temsil` (string, null, zorunlu) — Representation (sole, joint…).
- `yetkililer[].baslangic` (string (date), null, zorunlu) — Start of office.
- `yetkililer[].bitis` (string (date), null, zorunlu) — End of office; null while in office.
- `yetkililer[].bitis_nedeni` (string, null, zorunlu)
- `yetkililer[].gorev_bitis` (string, null, zorunlu) — Expected end of term.
- `yetkililer[].gorev_suresi` (string, null, zorunlu)
- `yetkililer[].gorev_dayanak` (string, null, zorunlu) — Basis of the term end (notice or statute).
- `yetkililer[].kaynak` (Kaynak, null, zorunlu)
- `yetkililer[].kaynak.ilan_id` (integer, zorunlu) — The notice the fact comes from.
- `yetkililer[].kaynak.ilan_tarihi` (string (date), zorunlu) — Publication date of the notice.
- `yetkililer[].kaynak.ilan_turu` (string, zorunlu) — Trade Registry Gazette notice type.
- `yetkililer[].kaynak.alinti` (string, zorunlu) — Verbatim quote from the notice text.
- `yetkililer[].kaynak.alinti_dogrulandi` (boolean, zorunlu) — Whether the quote was found verbatim in the notice.
- `yetkililer[].kaynak.gazete_pdf` (string (uri), zorunlu) — Gazette PDF.
- `yetkililer[].kaynak.vurgu` (Vurgu, null, zorunlu)
- `yetkililer[].kaynak.vurgu.sayfa` (integer, zorunlu) — Gazette page (from 1).
- `yetkililer[].kaynak.vurgu.sayfa_gorsel` (string (uri), zorunlu) — PNG image of the page.
- `yetkililer[].kaynak.vurgu.kutular[]` (number[][], zorunlu) — Where the fact sits on the page: proportional [x0, y0, x1, y1] boxes (0–1, top-left origin).
- `yetkililer[].kaynak.vurgu.kutu_birimi` (string, zorunlu) — Description of the box unit.
- `yetkililer[].bitis_kaynak` (Kaynak, null, zorunlu)
- `yetkililer[].bitis_kaynak.ilan_id` (integer, zorunlu) — The notice the fact comes from.
- `yetkililer[].bitis_kaynak.ilan_tarihi` (string (date), zorunlu) — Publication date of the notice.
- `yetkililer[].bitis_kaynak.ilan_turu` (string, zorunlu) — Trade Registry Gazette notice type.
- `yetkililer[].bitis_kaynak.alinti` (string, zorunlu) — Verbatim quote from the notice text.
- `yetkililer[].bitis_kaynak.alinti_dogrulandi` (boolean, zorunlu) — Whether the quote was found verbatim in the notice.
- `yetkililer[].bitis_kaynak.gazete_pdf` (string (uri), zorunlu) — Gazette PDF.
- `yetkililer[].bitis_kaynak.vurgu` (Vurgu, null, zorunlu)
- `yetkililer[].bitis_kaynak.vurgu.sayfa` (integer, zorunlu) — Gazette page (from 1).
- `yetkililer[].bitis_kaynak.vurgu.sayfa_gorsel` (string (uri), zorunlu) — PNG image of the page.
- `yetkililer[].bitis_kaynak.vurgu.kutular[]` (number[][], zorunlu) — Where the fact sits on the page: proportional [x0, y0, x1, y1] boxes (0–1, top-left origin).
- `yetkililer[].bitis_kaynak.vurgu.kutu_birimi` (string, zorunlu) — Description of the box unit.
- `yetkililer[].gorevde` (boolean, zorunlu) — Whether in office today.
- `yetkililer[].rol_standart` (Rol, null)
- `yetkililer[].rol_standart.kod` (string, zorunlu)
- `yetkililer[].rol_standart.ad` (string)
- `yetkililer[].rol_standart.en_ad` (string)
- `yetkililer[].rol_standart.organ` (string, null)
- `yetkililer[].rol_standart.temsil_organi` (boolean, null)
- `yetkililer[].rol_standart.kesin` (boolean)
- `yetkililer[].rol_standart.roller[]` (string[])
- `yetkililer[].rol_standart.imza_derecesi` (string, null)
- `yetkililer[].rol_standart.iso5009` (string, null)
- `yetkililer[].rol_standart.iso5009_liste` (string, null)
- `yetkililer[].rol_standart.yerel_ad` (string)

```json
{
  "sirket": {
    "id": "DENEME-100001",
    "unvan": "ÖRNEK DENEME SANAYİ VE TİCARET ANONİM ŞİRKETİ",
    "mudurluk": "İSTANBUL",
    "sicil_no": "DENEME-100001"
  },
  "tarih": "güncel",
  "adet": 3,
  "profil_hazir": true,
  "yetkililer": [
    {
      "isim": "Ayşe Örnek",
      "sifat": "Yönetim Kurulu Başkanı",
      "temsil": "Münferit",
      "baslangic": "2015-03-02",
      "bitis": null,
      "bitis_nedeni": null,
      "gorev_bitis": null,
      "gorev_suresi": null,
      "gorev_dayanak": null,
      "kaynak": {
        "ilan_id": 9000000,
        "ilan_tarihi": "2015-03-02",
        "ilan_turu": "KURULUŞ",
        "alinti": "Ayşe Örnek seçilmiştir",
        "alinti_dogrulandi": true,
        "gazete_pdf": "https://ulawk.com/api/v1/ilanlar/9000000/pdf/",
        "vurgu": null
      },
      "bitis_kaynak": null,
      "gorevde": true,
      "rol_standart": {
        "kod": "YK_BASKANI",
        "ad": "Yönetim kurulu başkanı",
        "en_ad": "Chair of the board of directors",
        "organ": "yonetim_kurulu",
        "temsil_organi": true,
        "kesin": true,
        "roller": [
          "YK_BASKANI",
          "YK_UYESI"
        ],
        "imza_derecesi": null,
        "iso5009": null,
        "iso5009_liste": "ISO 5009 resmî görev kodları listesi, 16.10.2026 tarihli sorgu (Türkiye kaydı yok)",
        "yerel_ad": "Yönetim Kurulu Başkanı"
      }
    },
    {
      "isim": "Ali Denemeci",
      "sifat": "Yönetim Kurulu Üyesi",
      "temsil": "Müşterek",
      "baslangic": "2021-05-17",
      "bitis": null,
      "bitis_nedeni": null,
      "gorev_bitis": null,
      "gorev_suresi": null,
      "gorev_dayanak": null,
      "kaynak": {
        "ilan_id": 9000002,
        "ilan_tarihi": "2021-05-17",
        "ilan_turu": "YÖNETİM KURULU SEÇİMİ",
        "alinti": "Ali Denemeci seçilmiştir",
        "alinti_dogrulandi": true,
        "gazete_pdf": "https://ulawk.com/api/v1/ilanlar/9000002/pdf/",
        "vurgu": null
      },
      "bitis_kaynak": null,
      "gorevde": true,
      "rol_standart": {
        "kod": "YK_UYESI",
        "ad": "Yönetim kurulu üyesi",
        "en_ad": "Member of the board of directors",
        "organ": "yonetim_kurulu",
        "temsil_organi": true,
        "kesin": true,
        "roller": [
          "YK_UYESI"
        ],
        "imza_derecesi": null,
        "iso5009": null,
        "iso5009_liste": "ISO 5009 resmî görev kodları listesi, 16.10.2026 tarihli sorgu (Türkiye kaydı yok)",
        "yerel_ad": "Yönetim Kurulu Üyesi"
      }
    }
  ]
}
```

### 400 — `gecersiz_tarih`.


```json
{
  "hata": "gecersiz_tarih",
  "detay": "tarih YYYY-AA-GG olmalı",
  "hata_ayrinti": {
    "kod": "gecersiz_tarih",
    "mesaj": "tarih YYYY-AA-GG olmalı",
    "taraf": "istemci",
    "kaynak": null,
    "tekrar_denenebilir": false,
    "tekrar_sn": null
  }
}
```

### 404 — Not found or no access (`bulunamadi`).


```json
{
  "hata": "bulunamadi",
  "detay": "Şirket bulunamadı ya da erişim yetkiniz yok.",
  "hata_ayrinti": {
    "kod": "bulunamadi",
    "mesaj": "Şirket bulunamadı ya da erişim yetkiniz yok.",
    "taraf": "istemci",
    "kaynak": null,
    "tekrar_denenebilir": false,
    "tekrar_sn": null
  }
}
```

### 503 — The official source is unreachable right now (`kaynak_erisilemiyor`, taraf kaynak). Sandbox: DENEME-KAYNAK-KAPALI.

Retry-After: `300`

```json
{
  "hata": "kaynak_erisilemiyor",
  "detay": "Ticaret Sicili Gazetesi şu an yanıt vermiyor; kısa süre sonra yeniden deneyin. (Deneme ortamı benzetimi.)",
  "hata_ayrinti": {
    "kod": "kaynak_erisilemiyor",
    "mesaj": "Ticaret Sicili Gazetesi şu an yanıt vermiyor; kısa süre sonra yeniden deneyin. (Deneme ortamı benzetimi.)",
    "taraf": "kaynak",
    "kaynak": "ttsg",
    "tekrar_denenebilir": true,
    "tekrar_sn": 300
  }
}
```

### 401 — Missing or invalid key (`yetkisiz`).


```json
{
  "hata": "yetkisiz",
  "detay": "Geçerli X-API-Key başlığı gerekli (panel › API).",
  "hata_ayrinti": {
    "kod": "yetkisiz",
    "mesaj": "Geçerli X-API-Key başlığı gerekli (panel › API).",
    "taraf": "istemci",
    "kaynak": null,
    "tekrar_denenebilir": false,
    "tekrar_sn": null
  }
}
```

### 429 — Hourly rate limit exceeded (`hiz_siniri`); the Retry-After header gives the seconds until reset.

Retry-After: `2311`

```json
{
  "hata": "hiz_siniri",
  "detay": "Saatlik istek sınırı aşıldı (600). Bir sonraki saatte tekrar deneyin.",
  "hata_ayrinti": {
    "kod": "hiz_siniri",
    "mesaj": "Saatlik istek sınırı aşıldı (600). Bir sonraki saatte tekrar deneyin.",
    "taraf": "istemci",
    "kaynak": null,
    "tekrar_denenebilir": true,
    "tekrar_sn": 2311
  }
}
```

### 500 — Unexpected error (`ic_hata`, taraf ulawk); retry shortly.

Retry-After: `60`

```json
{
  "hata": "ic_hata",
  "detay": "Beklenmeyen bir hata oluştu; kısa süre sonra yeniden deneyin.",
  "hata_ayrinti": {
    "kod": "ic_hata",
    "mesaj": "Beklenmeyen bir hata oluştu; kısa süre sonra yeniden deneyin.",
    "taraf": "ulawk",
    "kaynak": null,
    "tekrar_denenebilir": true,
    "tekrar_sn": 60
  }
}
```

## Request

```bash
curl "https://ulawk.com/api/v1/sirketler/DENEME-100001/yetkililer/" \
  -H "X-API-Key: ulk_DENEME_ANAHTARINIZ" \
  -H "X-API-Secret: ulsk_DENEME_GIZLI_ANAHTARINIZ"
```
