Overview / Operations / Complete a submission

Complete a submission

post https://api.flactrum.com/v1/checklist-submissions/{submission}/complete

Scores the submission and closes it. Unanswered required items block completion and are listed in the error details.

Required scope checklists.submit
Success status200
Returns One ChecklistSubmission object

Parameters

NameInTypeDescription
submission * path string ULID of the record.

Response fields

FieldTypeDescription
id string —
checklist_id string —
branch_id string —
user_id string —
status string —
score integer|null Calculated on completion, 0–100.
submitted_at string|null —
answers array item_id and value pairs.

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X POST 'https://api.flactrum.com/v1/checklist-submissions/01m43mzc6jynd7nkd1pdt8qdex/complete' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/json

{
    "data": {
        "id": "01m43mzc6jynd7nkd1pdt8qdex",
        "checklist_id": "01m43mzc4523f88t6zg0sgdhsc",
        "checklist": {
            "id": "01m43mzc4523f88t6zg0sgdhsc",
            "name": "Açılış kontrolü",
            "description": "Şube açılışında bakılacaklar.",
            "is_active": false,
            "created_at": "2026-10-04T14:27:05+00:00",
            "updated_at": "2026-10-04T14:27:05+00:00"
        },
        "branch_id": "01m43mzc3m71htbhs1dw3zzgbm",
        "user_id": "01m43mzc3gcync24hhrjr33138",
        "status": "completed",
        "score": null,
        "submitted_at": "2026-10-04T14:27:05+00:00",
        "answers": [
            {
                "item_id": "01m43mzc4n4q0thpea8w4ka262",
                "value": "4"
            }
        ],
        "created_at": "2026-10-04T14:27:05+00:00",
        "updated_at": "2026-10-04T14:27:05+00:00"
    }
}