Developer API apps
Behind the data sources, the handler context and the SDK is an ordinary REST API: the apps section of the Methacore developer API. If you need it directly – for example from your own backend that works with an external app's token – you will find every endpoint here.
https://apps.api.methacore.de/v1
Authentication
Every call needs a bearer token that a member issued to your app via OAuth (PKCE) – as with all product APIs, except that the client belongs to the "Methacore Apps" API:
curl https://apps.api.methacore.de/v1/me/profile \
-H "Authorization: Bearer mcapi_9f3c…c41a"
A token carries:
| Item | Effect |
|---|---|
Member (sub) | all me/* endpoints respond only with this member's data |
Club (organisation) | the club the member consented for |
| Client | determines the app – and therefore which storage storage/* sees |
| Scopes | what the member allowed |
API keys and sandbox keys do not work here: without a member, there is no "me".
Overview
| Method | Path | Scope | Response |
|---|---|---|---|
GET | / | – | API identifier and the token's club |
GET | /me/profile | mc.me.profile:read | profile |
GET | /me/groups | mc.me.groups:read | groups with role |
GET | /me/events | mc.me.events:read | events in the time range |
GET | /me/trainingplans | mc.me.trainingplans:read | training plans of the member's groups |
GET | /me/competitions | mc.me.competitions:read | own competition results |
GET | /me/membercard | mc.me.membercard:read | membership card |
GET | /storage/{collection} | mc.apps.storage:read | entries of a collection |
GET | /storage/{collection}/{key} | mc.apps.storage:read | one entry |
PUT | /storage/{collection}/{key} | mc.apps.storage:write | create or replace an entry |
DELETE | /storage/{collection}/{key} | mc.apps.storage:write | delete an entry |
GET /
{ "api": "methacore-apps", "organisation": "66bcfadc2f1e4a0012ab0001" }
GET /me/profile
{
"id": "665f1c2a9b1e4a0012ab34cd",
"firstName": "Anna",
"lastName": "Schneider",
"email": "[email protected]",
"birthday": "1988-04-12",
"image": "https://images.methacore.de/beispiel/anna.jpg"
}
birthday is null if nothing is stored; image is an empty string if there is no picture.
GET /me/groups
Groups the member belongs to or trains.
{
"items": [
{ "id": "g1", "name": "Voltigieren Kinder", "role": "member" },
{ "id": "g2", "name": "Dressur Fortgeschrittene", "role": "trainer" }
]
}
GET /me/events
The member's calendar with the same visibility as in the member app: club events, visible calendars and events of the member's groups.
| Parameter | In | Type | Meaning |
|---|---|---|---|
start | query | integer | Start as a Unix timestamp in seconds. Default: now. |
end | query | integer | End as a Unix timestamp. Default: start + 90 days. At most one year after start. |
curl "https://apps.api.methacore.de/v1/me/events?start=1790805600&end=1793484000" \
-H "Authorization: Bearer $TOKEN"
{
"items": [
{ "id": "e1", "title": "Training Voltigieren", "start": 1790960400, "end": 1790965800, "location": "Reithalle" }
]
}
start and end of the entries are Unix timestamps in seconds. A range of more than a year responds with 400.
GET /me/trainingplans
Training plans assigned to the member's groups.
{
"items": [
{ "id": "t1", "name": "Grundlagen Pflicht", "category": "Voltigieren", "description": "Pflichtübungen für Einsteiger",
"exerciseCount": 7, "group": "g1" }
]
}
group is the ID of the group through which the plan is assigned.
GET /me/competitions
Own results in competitions that the club hosts or takes part in.
{
"items": [
{ "id": "r1", "competitionId": "c1", "competition": "Frühjahrsturnier Weeze", "disciplineId": "d1",
"place": 2, "score": 7.4, "timestamp": 1776514800 }
]
}
GET /me/membercard
The stored card as the member sees it. Reading never issues a new card.
{
"card": {
"serial": "MC-2026-0042",
"status": "valid",
"valid": true,
"name": "Anna Schneider",
"memberNumber": "1042",
"departments": ["Voltigieren", "Dressur"],
"validUntil": "2026-12-31"
}
}
Without a card: { "card": null }.
Storage
All storage endpoints accept the scope parameter:
| Parameter | In | Values | Meaning |
|---|---|---|---|
collection | path | 1–64 characters A–Z a–z 0–9 _ - | collection |
key | path | 1–64 characters A–Z a–z 0–9 _ - | key |
scope | query | org (default), user | shared in the club or only for the member |
GET /storage/{collection}
| Parameter | In | Meaning |
|---|---|---|
limit | query | 1–200, default 50 |
offset | query | default 0 |
curl "https://apps.api.methacore.de/v1/storage/notizen?scope=org&limit=2" \
-H "Authorization: Bearer $TOKEN"
{
"items": [
{ "key": "n-1", "value": { "text": "Sattel zur Reparatur" }, "updatedAt": 1790582100 },
{ "key": "n-2", "value": "Hallenplan aushängen", "updatedAt": 1790664000 }
],
"total": 14
}
Sorted by key, ascending.
GET /storage/{collection}/{key}
{ "key": "n-1", "value": { "text": "Sattel zur Reparatur" }, "updatedAt": 1790582100 }
404 This key does not exist. if the key does not exist.
PUT /storage/{collection}/{key}
curl -X PUT "https://apps.api.methacore.de/v1/storage/notizen/n-3?scope=user" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "value": { "text": "Meine private Notiz" } }'
The body is an object with exactly one field, value – any JSON. The response is the stored entry:
{ "key": "n-3", "value": { "text": "Meine private Notiz" }, "updatedAt": 1790700000 }
DELETE /storage/{collection}/{key}
Responds with 204 and no body, or with 404 if the key did not exist.
Errors
Errors from the API itself come as { "detail": "<Meldung>" }. Errors already caught by the gateway (token missing or expired, quota, product unreachable) come in the common format of all product APIs: { "error": { "code", "message", "request_id" } }.
| Status | Message | Cause |
|---|---|---|
400 | value is missing. | PUT without { "value": … } |
400 | Send start and end as a range of at most a year. | me/events with a range that is too large |
401 | This token is not valid. / This token has expired. … | token missing, unknown or expired – renew via POST /v1/oauth/token |
403 | This token does not carry the <scope> scope. | the token lacks the endpoint's scope. To request the scope: see Permissions. |
403 | This client is not a Methacore app. | the token's client does not belong to any app – storage/* needs a client of the "Methacore Apps" API |
404 | This member does not exist in this club. | the member is not (or no longer) in the token's club |
404 | This key does not exist. | unknown key |
404 | This API answers at apps.api.methacore.de. | wrong subdomain |
413 | App storage quota exceeded. | the 10 MB per app and club are used up; nothing was saved |
422 | scope is org or user. | a different value for scope |
422 | Names use 1 to 64 letters, digits, '_' or '-'. | invalid name for a collection or key |
429 | rate_limited | request quota exhausted, see Retry-After |
The SDKs recognise the 403 for missing scopes by the message does not carry the <scope> scope – do not change it if you put your own proxy in front.