Overview /
Operations /
Add a checklist item
Add a checklist item
post
https://api.flactrum.com/v1/checklist-items
| Required scope | checklists.write |
| Success status | 201 |
| Returns | One ChecklistItem object |
Request body
| Field | Type | Description |
|---|---|---|
| checklist_id * | string | — |
| label * | string | — |
| type * | string | — |
| options | array | Required when type is select. |
| is_required | boolean | — |
| sort_order | integer | — |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| checklist_id | string | — |
| label | string | — |
| type | string | — |
| options | array|null | Only for select items. |
| is_required | boolean | — |
| sort_order | integer | — |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X POST 'https://api.flactrum.com/v1/checklist-items' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Content-Type: application/json' \
-d '{
"checklist_id": "01m43mzc4523f88t6zg0sgdhsc",
"label": "Buzdolabı sıcaklığı",
"type": "number",
"is_required": true
}'
HTTP 201 · application/json
{
"data": {
"id": "01m43mzc4n4q0thpea8w4ka262",
"checklist_id": "01m43mzc4523f88t6zg0sgdhsc",
"label": "Buzdolabı sıcaklığı",
"type": "number",
"options": null,
"is_required": true,
"sort_order": 0
}
}