Developers
V1MeLeave

Your own private drafts and leave requests

GET
/v1/me/leave
AuthorizationBearer <token>

In: header

Query Parameters

limit?integer
Range1 <= value <= 100
Default30
cursor?string
Lengthlength <= 512

Response Body

application/json

curl -X GET "https://example.com/v1/me/leave"
{  "requests": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",      "tenantName": "string",      "startDate": "2019-08-24",      "endDate": "2019-08-24",      "note": "",      "certificateReference": "",      "calendarDays": 1,      "status": "draft",      "createdAt": "2019-08-24T14:15:22Z",      "submittedAt": "2019-08-24T14:15:22Z",      "consent": {        "version": "2026-09-09",        "grantedAt": "2019-08-24T14:15:22Z"      },      "history": [        {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "action": "submitted",          "actor": "employee",          "note": "string",          "at": "2019-08-24T14:15:22Z"        }      ],      "certificate": {        "mimeType": "image/jpeg",        "expiresAt": "2019-08-24T14:15:22Z"      }    }  ],  "nextCursor": "string"}