Entwicklerportal
API-Referenz

Gliederung abrufen (oeffentliche Teilsicht)

Oeffentliche Felder eines Organisationsknotens. Dieselbe Route liefert eingeloggten Aufrufern mit `read:org` zusaetzliche Felder (Field-Projection).

GET
/organizations/{orgId}

Authorization

headerAuthorizationBearer <pc_live_… / pc_test_…>

Persoenlicher oder Dienstkonto-API-Key als Authorization: Bearer pc_live_… (Produktion) bzw. pc_test_… (Sandbox). In der Sandbox sind nur pc_test_-Keys gueltig. (ADR-0104)

Scope: read:org

Path Parameters

orgId*string

Oeffentliche NanoID der Gliederung.

Response Body

Die Gliederung.

application/json
  1. response
id*string
name*string
level*string
Value in"bundesverband""landesverband""kreisverband""ortsverband"
website?string
Formaturi
Example Request
curl -X GET 'https://api.sandbox.example/v1/organizations/org_Kv1Los42'
Example Response
{  "id": "org_Kv1Los42",  "name": "Kreisverband Musterstadt",  "level": "kreisverband",  "website": "https://musterstadt.example"}