Skip to main content
POST
Add Availability Blocks

Authorizations

X-API-Key
string
header
required

API key for authentication. Keys are prefixed with nxr_live_.

Path Parameters

user_id
string<uuid>
required

Tenant team-member identifier.

Body

application/json

With all_day omitted, omitting both start/end creates an all-day block; providing both creates a timed block.

all_day
enum<boolean>
required
Available options:
true
date
string<date>
required
start
string

24-hour local time; optional seconds are accepted but discarded.

Pattern: ^(?:\d|[01]\d|2[0-3]):[0-5]\d(?::\d{2})?$
end
string

24-hour local time after start; optional seconds are accepted but discarded.

Pattern: ^(?:\d|[01]\d|2[0-3]):[0-5]\d(?::\d{2})?$
reason
string | null

Trimmed; non-empty text is truncated to 500 characters before storage.

Response

Successful response.

success
enum<boolean>
required
Available options:
true
block
object
required
availability
object
required
Last modified on September 8, 2026