curl --request POST \
--url 'https://api.flashcat.cloud/schedule/info?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"schedule_id": 2001,
"start": 1712000000,
"end": 1712086400
}
'{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"data": {
"id": 5789640530410,
"name": "test-000001",
"account_id": 2451002751131,
"group_id": 4291079133131,
"disabled": 0,
"create_at": 1766110836,
"create_by": 2476123212131,
"update_at": 1775205795,
"update_by": 2476123212131,
"layers": [
{
"account_id": 2451002751131,
"name": "Layer 1",
"schedule_id": 5789640530410,
"hidden": 0,
"mode": 0,
"weight": 0,
"groups": [
{
"group_name": "A",
"name": "A",
"members": [
{
"role_id": 0,
"person_ids": [
3122470302131
]
}
],
"start": 0,
"end": 0
},
{
"group_name": "B",
"name": "B",
"members": [
{
"role_id": 0,
"person_ids": [
2659460982131
]
}
],
"start": 0,
"end": 0
}
],
"rotation_duration": 86400,
"handoff_time": 0,
"enable_time": 1767542400,
"expire_time": 0,
"restrict_mode": 0,
"restrict_start": 0,
"restrict_end": 0,
"restrict_periods": [],
"day_mask": {
"repeat": [
1,
2,
3,
4,
5
]
},
"create_at": 1775205795,
"create_by": 2476123212131,
"update_at": 1775205795,
"update_by": 2476123212131,
"layer_name": "Layer 1",
"fair_rotation": false,
"layer_start": 1767542400,
"layer_end": null,
"rotation_unit": "day",
"rotation_value": 1,
"mask_continuous_enabled": false
}
],
"schedule_layers": [
{
"layer_name": "Layer 1",
"name": "Layer 1",
"mode": 0,
"schedules": [
{
"start": 1776009600,
"end": 1776096000,
"group": {
"group_name": "A",
"name": "A",
"members": [
{
"role_id": 0,
"person_ids": [
3122470302131
]
}
],
"start": 1776009600,
"end": 1776096000
},
"index": 0
},
{
"start": 1776096000,
"end": 1776182400,
"group": {
"group_name": "B",
"name": "B",
"members": [
{
"role_id": 0,
"person_ids": [
2659460982131
]
}
],
"start": 1776096000,
"end": 1776182400
},
"index": 0
}
]
}
],
"final_schedule": {
"layer_name": "",
"name": "",
"mode": 0,
"schedules": [
{
"start": 1776009600,
"end": 1776096000,
"group": {
"group_name": "A",
"name": "A",
"members": [
{
"role_id": 0,
"person_ids": [
3122470302131
]
}
],
"start": 1776009600,
"end": 1776096000
},
"index": 0
}
]
},
"notify": {
"advance_in_time": 300,
"fixed_time": null,
"by": {
"follow_preference": false,
"personal_channels": [
"email"
]
},
"webhooks": [
{
"type": "feishu_app",
"settings": {
"token": "",
"alias": "",
"data_source_id": 5427276014131,
"chat_ids": [
"oc_60a6dc4c6e4e5cbc4934ef08aa7ff76d"
],
"verify_token": "",
"sign_secret": ""
}
}
]
},
"schedule_id": 5789640530410,
"schedule_name": "test-000001",
"team_id": 4291079133131,
"description": "abc",
"layer_schedules": [
{
"layer_name": "Layer 1",
"name": "Layer 1",
"mode": 0,
"schedules": [
{
"start": 1776009600,
"end": 1776096000,
"group": {
"group_name": "A",
"name": "A",
"members": [
{
"role_id": 0,
"person_ids": [
3122470302131
]
}
],
"start": 1776009600,
"end": 1776096000
},
"index": 0
}
]
}
],
"status": 0,
"cur_oncall": {
"start": 1775972040,
"end": 1776009600,
"group": {
"group_name": "A",
"name": "A",
"members": [
{
"role_id": 0,
"person_ids": [
2451002751131
]
}
],
"start": 1775972040,
"end": 1776009600
},
"update_at": 0,
"weight": 0,
"index": 0
},
"next_oncall": {
"start": 1776009600,
"end": 1776096000,
"group": {
"group_name": "A",
"name": "A",
"members": [
{
"role_id": 0,
"person_ids": [
3122470302131
]
}
],
"start": 1776009600,
"end": 1776096000
},
"update_at": 0,
"weight": 0,
"index": 0
}
}
}Return details of an on-call schedule including the computed schedule layers for the requested time window (max 45 days).
curl --request POST \
--url 'https://api.flashcat.cloud/schedule/info?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"schedule_id": 2001,
"start": 1712000000,
"end": 1712086400
}
'{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"data": {
"id": 5789640530410,
"name": "test-000001",
"account_id": 2451002751131,
"group_id": 4291079133131,
"disabled": 0,
"create_at": 1766110836,
"create_by": 2476123212131,
"update_at": 1775205795,
"update_by": 2476123212131,
"layers": [
{
"account_id": 2451002751131,
"name": "Layer 1",
"schedule_id": 5789640530410,
"hidden": 0,
"mode": 0,
"weight": 0,
"groups": [
{
"group_name": "A",
"name": "A",
"members": [
{
"role_id": 0,
"person_ids": [
3122470302131
]
}
],
"start": 0,
"end": 0
},
{
"group_name": "B",
"name": "B",
"members": [
{
"role_id": 0,
"person_ids": [
2659460982131
]
}
],
"start": 0,
"end": 0
}
],
"rotation_duration": 86400,
"handoff_time": 0,
"enable_time": 1767542400,
"expire_time": 0,
"restrict_mode": 0,
"restrict_start": 0,
"restrict_end": 0,
"restrict_periods": [],
"day_mask": {
"repeat": [
1,
2,
3,
4,
5
]
},
"create_at": 1775205795,
"create_by": 2476123212131,
"update_at": 1775205795,
"update_by": 2476123212131,
"layer_name": "Layer 1",
"fair_rotation": false,
"layer_start": 1767542400,
"layer_end": null,
"rotation_unit": "day",
"rotation_value": 1,
"mask_continuous_enabled": false
}
],
"schedule_layers": [
{
"layer_name": "Layer 1",
"name": "Layer 1",
"mode": 0,
"schedules": [
{
"start": 1776009600,
"end": 1776096000,
"group": {
"group_name": "A",
"name": "A",
"members": [
{
"role_id": 0,
"person_ids": [
3122470302131
]
}
],
"start": 1776009600,
"end": 1776096000
},
"index": 0
},
{
"start": 1776096000,
"end": 1776182400,
"group": {
"group_name": "B",
"name": "B",
"members": [
{
"role_id": 0,
"person_ids": [
2659460982131
]
}
],
"start": 1776096000,
"end": 1776182400
},
"index": 0
}
]
}
],
"final_schedule": {
"layer_name": "",
"name": "",
"mode": 0,
"schedules": [
{
"start": 1776009600,
"end": 1776096000,
"group": {
"group_name": "A",
"name": "A",
"members": [
{
"role_id": 0,
"person_ids": [
3122470302131
]
}
],
"start": 1776009600,
"end": 1776096000
},
"index": 0
}
]
},
"notify": {
"advance_in_time": 300,
"fixed_time": null,
"by": {
"follow_preference": false,
"personal_channels": [
"email"
]
},
"webhooks": [
{
"type": "feishu_app",
"settings": {
"token": "",
"alias": "",
"data_source_id": 5427276014131,
"chat_ids": [
"oc_60a6dc4c6e4e5cbc4934ef08aa7ff76d"
],
"verify_token": "",
"sign_secret": ""
}
}
]
},
"schedule_id": 5789640530410,
"schedule_name": "test-000001",
"team_id": 4291079133131,
"description": "abc",
"layer_schedules": [
{
"layer_name": "Layer 1",
"name": "Layer 1",
"mode": 0,
"schedules": [
{
"start": 1776009600,
"end": 1776096000,
"group": {
"group_name": "A",
"name": "A",
"members": [
{
"role_id": 0,
"person_ids": [
3122470302131
]
}
],
"start": 1776009600,
"end": 1776096000
},
"index": 0
}
]
}
],
"status": 0,
"cur_oncall": {
"start": 1775972040,
"end": 1776009600,
"group": {
"group_name": "A",
"name": "A",
"members": [
{
"role_id": 0,
"person_ids": [
2451002751131
]
}
],
"start": 1775972040,
"end": 1776009600
},
"update_at": 0,
"weight": 0,
"index": 0
},
"next_oncall": {
"start": 1776009600,
"end": 1776096000,
"group": {
"group_name": "A",
"name": "A",
"members": [
{
"role_id": 0,
"person_ids": [
3122470302131
]
}
],
"start": 1776009600,
"end": 1776096000
},
"update_at": 0,
"weight": 0,
"index": 0
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.flashcat.cloud/llms.txt
Use this file to discover all available pages before exploring further.
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | Schedules Read (on-call) or Schedules Manage (on-call) |
App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Schedule detail request. start/end define the window for computed layers; the span must be less than 45 days.
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.
Was this page helpful?