A member's working hours
https://api.norreach.app/v1/members/{id}/scheduleA member's working hours per weekday, their time zone and whether they're taking calls now. source: default = nothing saved yet (the app then assumes Monday–Friday 09:00–17:00 in the workspace's time zone).
curl -X GET "https://api.norreach.app/v1/members/{id}/schedule" \
-H "Authorization: Bearer $NORREACH_API_KEY"{
"object": "member_schedule",
"member_id": "8e9f0a1b-2c3d-4e4f-9a5b-6c7d8e9f0a1b",
"timezone": "Europe/Stockholm",
"schedule_type": "scheduled",
"is_online": true,
"hours": [
{
"day_of_week": 1,
"start": "08:00",
"end": "16:30",
"enabled": true
},
{
"day_of_week": 2,
"start": "08:00",
"end": "16:30",
"enabled": true
},
{
"day_of_week": 3,
"start": "08:00",
"end": "16:30",
"enabled": true
},
{
"day_of_week": 4,
"start": "08:00",
"end": "16:30",
"enabled": true
},
{
"day_of_week": 5,
"start": "08:00",
"end": "16:30",
"enabled": true
}
],
"source": "manual"
}Authorizations
Bearer authentication: send Authorization: Bearer <key>, with an API key or an OAuth access token. The key needs the scope team:read. API keys and scopes
Path parameters
An id (UUID).
Response
200application/json— A member's working hours
An id (UUID).
scheduledflexibleTaking calls now (the team's hold queue and inbound routing read it).
Show child attributesHide child attributes
0 = Sunday … 6 = Saturday.
HH:MM, 24-hour (24:00 = midnight at the end of the day).
HH:MM, 24-hour (24:00 = midnight at the end of the day).
default = none saved yet: Monday–Friday 09:00–17:00 in the workspace's time zone, as the app assumes.
manualcalendardefaultErrors
Errors are application/problem+json with a stable code.
| Status | Code | Meaning |
|---|---|---|
| 400 | bad_request | The request couldn't be read. |
| 400 | unknown_field | The request has a field this operation doesn't know. |
| 401 | unauthorized | A valid API key is required. |
| 403 | insufficient_scope | This API key doesn't have the scope this operation needs. |
| 403 | feature_not_enabled | The API isn't switched on for this workspace. |
| 404 | not_found | That doesn't exist. |
| 429 | rate_limited | Too many requests. Slow down and try again. |
| 500 | server_error | Something went wrong on our side. |
| 503 | unavailable | The API isn't available right now. Try again shortly. |