List my leave
get
https://api.expiryedge.com/v1/getMyAvailabilityany role60/min
Anfrage
curl 'https://api.expiryedge.com/v1/getMyAvailability' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY"Antwort
{
"availability": [
{
"id": "av_6Jc3nTy",
"user_id": "u_4Np8cZe",
"organization_id": "org_northwind",
"start_date": "2026-10-15",
"end_date": "2026-10-22",
"reason": "Annual leave",
"created_by": "u_4Np8cZe",
"created_at": "2026-09-27T14:05:00.000Z",
"updated_at": "2026-09-27T14:05:00.000Z"
}
]
}Your leave records, newest start date first. Unbounded.
200
Leave records.
availabilityarray of objectserforderlich
401 | Missing, expired or invalid bearer token. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
500 | Server error, including a missing or invalid token (legacy {message} body). |
