Skip to navigation

Set a member's available hours

Sets the weekly schedule inside which transfers to people ring this member. Outside it the member is skipped even when available for calls; if nobody is left, the destination’s nobody-available path runs. Hours belong to the organization and apply in every account of it. The member themselves, or an owner or admin.

Authentication

AuthorizationBearer

Pass a JWT access token or an API key (prefixed with tif_live_) as a Bearer token.

Path parameters

memberIdstringRequiredformat: "uuid"
Membership ID

Request

This endpoint expects an object.
timezonestringRequired
IANA timezone the times are in
weeklyobjectRequired

Ranges per weekday (mon … sun)

Response

Hours set (normalized: canonical timezone name, sorted ranges)

memberIdstringformat: "uuid"
Membership ID of the member in your organization
userIdstringformat: "uuid"
User ID of the member
hoursobject or nullOptional

A member's weekly available hours. A transfer to people rings the member only inside these hours, evaluated on the local clock of timezone (a 09:00–18:00 range stays 09:00–18:00 across daylight-saving changes).

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error