V1Me
Get My Availability
The user's weekly availability windows, ordered by day then start time.
Required variables:
- baseUrl
- apiKey (needs
profile:read) - userToken
Authorization
bearerAuth userTokenAuth AuthorizationBearer <token>
Partner API key (lyh_...): identifies the calling partner, its scopes and rate limit.
In: header
X-User-Token<token>
The user's OAuth 2.1 access token, issued by Land Your Home's OAuth server to this partner's OAuth client. Requests run as this user.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/me/availability"{ "data": [ { "dayOfWeek": 1, "startTime": "09:00", "endTime": "17:00" }, { "dayOfWeek": 2, "startTime": "09:00", "endTime": "17:00" } ]}
