Programiści API reference
API reference
All routes of the CLUP.life REST API v1 with parameters, responses and examples — generated from the OpenAPI description. Download as JSON and YAML.
Dokumentacja techniczna jest dostępna po niemiecku i angielsku; w Twoim języku pokazujemy wersję angielską.
This reference is generated from the real OpenAPI description; it cannot drift from the API. A development test fails as soon as a route is missing or the description no longer matches the documentation.
Adres bazowy: https://api.clup.life/api/v1 · OpenAPI 3.1.0 · Wersja 1.0.0
GET /ext/me
GET/ext/me
Who am I? Account, scopes of the key, memberships
Obszary: profile:read
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/me"GET /ext/directory/organizations
GET/ext/directory/organizations
Search the club directory (public organizations only)
Obszary: directory:read
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
cursor | Zapytanie | wył. | Continuation from nextCursor of the previous response (no page numbers, no OFFSET) |
limit | Zapytanie | wył. | 1–100, default 30 |
q | Zapytanie | wył. | Search term (display name; in the directory: name, short name or place) |
categories | Zapytanie | wył. | Topics, separated with | |
types | Zapytanie | wył. | CLUB, ASSOCIATION, GROUP, MUNICIPALITY (comma-separated) |
state | Zapytanie | wył. | Federal state as a code, e.g. DE-RP (comma-separated) |
place | Zapytanie | wył. | Town or postal code |
radiusKm | Zapytanie | wył. | Radius 1–300 (with place) |
ageFrom | Zapytanie | wył. | Offer for ages from |
ageTo | Zapytanie | wył. | Offer for ages up to |
membersMin | Zapytanie | wył. | Minimum number of members |
membersMax | Zapytanie | wył. | Maximum number of members |
foundedFrom | Zapytanie | wył. | Founded from (year) |
foundedTo | Zapytanie | wył. | Founded up to (year) |
accepting | Zapytanie | wył. | 1 = accepts new members |
sort | Zapytanie | wył. | relevance, distance, name, size or new |
| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/directory/organizations"GET /ext/events
GET/ext/events
Events in a period
Obszary: events:read
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
from | Zapytanie | wł. | Start of the period (ISO 8601, e.g. 2026-11-01T00:00:00Z) |
to | Zapytanie | wł. | End of the period (at most 400 days after from) |
organization | Zapytanie | wył. | Only events of this organization (slug) |
| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/events?from=2026-11-01T00:00:00Z&to=2026-12-01T00:00:00Z"POST /ext/organizations/{org}/events
POST/ext/organizations/{org}/events
Create an event
Obszary: events:writePremium (klucz organizacji)
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
org | Ścieżka | wł. | Identifier (slug) of the organization |
{
"title": "Sommerfest",
"startsAt": "2026-07-04T14:00:00Z",
"endsAt": "2026-07-04T20:00:00Z",
"visibility": "MEMBERS"
}| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -X POST -H "Authorization: Bearer clup_k_…" \
-H "Content-Type: application/json" \
-d '{"title":"Sommerfest","startsAt":"2026-07-04T14:00:00Z","endsAt":"2026-07-04T20:00:00Z","visibility":"MEMBERS"}' \
"https://api.clup.life/api/v1/ext/organizations/mein-verein/events"GET /ext/organizations/{org}/members
GET/ext/organizations/{org}/members
Member list (only if the person’s role shows it)
Obszary: members:read
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
org | Ścieżka | wł. | Identifier (slug) of the organization |
cursor | Zapytanie | wył. | Continuation from nextCursor of the previous response (no page numbers, no OFFSET) |
limit | Zapytanie | wył. | 1–100, default 30 |
q | Zapytanie | wył. | Search term (display name; in the directory: name, short name or place) |
| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/organizations/mein-verein/members"GET /ext/organizations/{org}/posts
GET/ext/organizations/{org}/posts
Posts
Obszary: posts:read
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
org | Ścieżka | wł. | Identifier (slug) of the organization |
cursor | Zapytanie | wył. | Continuation from nextCursor of the previous response (no page numbers, no OFFSET) |
limit | Zapytanie | wył. | 1–100, default 30 |
| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/organizations/mein-verein/posts"GET /ext/organizations/{org}/announcements
GET/ext/organizations/{org}/announcements
Announcements
Obszary: announcements:read
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
org | Ścieżka | wł. | Identifier (slug) of the organization |
cursor | Zapytanie | wył. | Continuation from nextCursor of the previous response (no page numbers, no OFFSET) |
limit | Zapytanie | wył. | 1–100, default 30 |
| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/organizations/mein-verein/announcements"POST /ext/organizations/{org}/announcements
POST/ext/organizations/{org}/announcements
Publish an announcement
Obszary: announcements:writePremium (klucz organizacji)
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
org | Ścieżka | wł. | Identifier (slug) of the organization |
{
"title": "Hallenzeiten ändern sich",
"body": "Ab Montag trainieren wir in der kleinen Halle."
}| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -X POST -H "Authorization: Bearer clup_k_…" \
-H "Content-Type: application/json" \
-d '{"title":"Hallenzeiten ändern sich","body":"Ab Montag trainieren wir in der kleinen Halle."}' \
"https://api.clup.life/api/v1/ext/organizations/mein-verein/announcements"GET /ext/organizations/{org}/tasks
GET/ext/organizations/{org}/tasks
Tasks
Obszary: tasks:read
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
org | Ścieżka | wł. | Identifier (slug) of the organization |
scope | Zapytanie | wył. | open (default) or done |
cursor | Zapytanie | wył. | Continuation from nextCursor of the previous response (no page numbers, no OFFSET) |
limit | Zapytanie | wył. | 1–100, default 30 |
| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/organizations/mein-verein/tasks"POST /ext/organizations/{org}/tasks
POST/ext/organizations/{org}/tasks
Create a task
Obszary: tasks:writePremium (klucz organizacji)
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
org | Ścieżka | wł. | Identifier (slug) of the organization |
{
"title": "Zelte prüfen",
"dueDate": "2026-06-20"
}| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -X POST -H "Authorization: Bearer clup_k_…" \
-H "Content-Type: application/json" \
-d '{"title":"Zelte prüfen","dueDate":"2026-06-20"}' \
"https://api.clup.life/api/v1/ext/organizations/mein-verein/tasks"GET /ext/presse/posts
GET/ext/presse/posts
Published press releases and news
Obszary: presse:read
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
art | Zapytanie | wył. | PRESS_RELEASE or NEWS |
lang | Zapytanie | wył. | Language code, e.g. de, en (falls back to German) |
cursor | Zapytanie | wył. | Continuation from nextCursor of the previous response (no page numbers, no OFFSET) |
limit | Zapytanie | wył. | 1–100, default 30 |
| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/presse/posts"POST /ext/presse/posts
POST/ext/presse/posts
Create a press release or news item as a draft
Obszary: presse:writePremium (klucz organizacji)
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
{
"kind": "NEWS",
"slug": "neue-funktion",
"texts": [
{
"locale": "de",
"title": "Neue Funktion",
"summary": "Kurzer Anreißer der Meldung.",
"body": "Text in einfachem Markdown."
}
]
}| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -X POST -H "Authorization: Bearer clup_k_…" \
-H "Content-Type: application/json" \
-d '{"kind":"NEWS","slug":"neue-funktion","texts":[{"locale":"de","title":"Neue Funktion","summary":"Kurzer Anreißer der Meldung.","body":"Text in einfachem Markdown."}]}' \
"https://api.clup.life/api/v1/ext/presse/posts"GET /ext/presse/posts/{ref}
GET/ext/presse/posts/{ref}
One post by slug (with presse:write also by id, including drafts)
Obszary: presse:read
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
ref | Ścieżka | wł. | Slug or identifier of the post |
lang | Zapytanie | wył. | Language code, e.g. de, en (falls back to German) |
| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/presse/posts/{ref}"PUT /ext/presse/posts/{id}
PUT/ext/presse/posts/{id}
Change a post
Obszary: presse:writePremium (klucz organizacji)
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
id | Ścieżka | wł. | Identifier of the post |
{
"kind": "NEWS",
"slug": "neue-funktion",
"texts": [
{
"locale": "de",
"title": "Neue Funktion",
"summary": "Kurzer Anreißer der Meldung.",
"body": "Geänderter Text."
}
]
}| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
-H "Content-Type: application/json" \
-d '{"kind":"NEWS","slug":"neue-funktion","texts":[{"locale":"de","title":"Neue Funktion","summary":"Kurzer Anreißer der Meldung.","body":"Geänderter Text."}]}' \
"https://api.clup.life/api/v1/ext/presse/posts/{id}"POST /ext/presse/posts/{id}/publish
POST/ext/presse/posts/{id}/publish
Publish a post now
Obszary: presse:writePremium (klucz organizacji)
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
id | Ścieżka | wł. | Identifier of the post |
| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -X POST -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/presse/posts/{id}/publish"POST /ext/presse/posts/{id}/schedule
POST/ext/presse/posts/{id}/schedule
Schedule publication
Obszary: presse:writePremium (klucz organizacji)
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
id | Ścieżka | wł. | Identifier of the post |
{
"publishAt": "2026-11-01T08:00:00Z"
}| Status | Znaczenie |
|---|---|
| 200 | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -X POST -H "Authorization: Bearer clup_k_…" \
-H "Content-Type: application/json" \
-d '{"publishAt":"2026-11-01T08:00:00Z"}' \
"https://api.clup.life/api/v1/ext/presse/posts/{id}/schedule"GET /ext/exports/events.ics
GET/ext/exports/events.ics
Events as iCal
Obszary: exports:read
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
from | Zapytanie | wł. | Start of the period (ISO 8601, e.g. 2026-11-01T00:00:00Z) |
to | Zapytanie | wł. | End of the period (at most 400 days after from) |
organization | Zapytanie | wył. | Only events of this organization (slug) |
| Status | Znaczenie |
|---|---|
| 200 (text/calendar) | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/exports/events.ics?from=2026-11-01T00:00:00Z&to=2026-12-01T00:00:00Z"GET /ext/exports/events.csv
GET/ext/exports/events.csv
Events as CSV
Obszary: exports:read
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
from | Zapytanie | wł. | Start of the period (ISO 8601, e.g. 2026-11-01T00:00:00Z) |
to | Zapytanie | wł. | End of the period (at most 400 days after from) |
organization | Zapytanie | wył. | Only events of this organization (slug) |
| Status | Znaczenie |
|---|---|
| 200 (text/csv) | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/exports/events.csv?from=2026-11-01T00:00:00Z&to=2026-12-01T00:00:00Z"GET /ext/exports/organizations/{org}/members.csv
GET/ext/exports/organizations/{org}/members.csv
Member list as CSV (leadership only, logged)
Obszary: exports:read, members:read
Prawa osoby, do której należy klucz, obowiązują bez zmian; obce lub niewidoczne organizacje odpowiadają 404.
| Imię i nazwisko | Miejsce | Obowiązek | Opis |
|---|---|---|---|
org | Ścieżka | wł. | Identifier (slug) of the organization |
| Status | Znaczenie |
|---|---|
| 200 (text/csv) | Success |
| 401 | Key invalid, expired or revoked (INVALID_API_KEY) |
| 403 | Scope missing (INSUFFICIENT_SCOPE), right missing (FORBIDDEN) or Premium required (PREMIUM_REQUIRED) |
| 404 | Not found — also for organizations the key may not see |
| 429 | Too many requests (RATE_LIMITED); respect Retry-After |
curl -H "Authorization: Bearer clup_k_…" \
"https://api.clup.life/api/v1/ext/exports/organizations/mein-verein/members.csv"