Operations
Account
The company and key behind each request.
Check a key
GET /v1/me
Returns the company and the key. Use it to test a connection.
Response 200
apiVersion | v1 | |
organization | object | |
key | object |
Possible errors: 401, 429.
Example
curl "https://api.mijornada.app/v1/me" \
-H "Authorization: Bearer mj_live_…" Example response
{
"apiVersion": "v1",
"organization": {
"id": "org123",
"name": "Pastelería Ejemplo",
"timeZone": "Europe/Madrid"
},
"key": {
"id": "key_4f7a2c1b9e0d3a56",
"name": "Martínez Asesores",
"purpose": "ACCOUNTANT",
"prefix": "mj_live_4f7a2c",
"scopes": [
"employees:read",
"time:read",
"absences:read"
],
"createdAt": "2026-10-01T08:00:00Z"
}
} Last updated: .