Check Out of Shift
POST {{base_url}}/api/v3/shifts/{{SHIFT_ID}}/check_out
Required scope: shifts:write
Checks the runner out of an operator-owned shift. Requires admin credentials. The operation is idempotent: retrying it keeps the shift checked out.
Request body
Section titled “Request body”{}Examples
Section titled “Examples”curl --request POST '${base_url}/api/v3/shifts/550e8400-e29b-41d4-a716-446655440000/check_out' \ --header 'Content-Type: application/json' \ --data '{}'const response = await fetch("${base_url}/api/v3/shifts/550e8400-e29b-41d4-a716-446655440000/check_out", { "method": "POST", "headers": { "Content-Type": "application/json" }, "body": "{}"})const data = await response.json()import requests
response = requests.request( "POST", "${base_url}/api/v3/shifts/550e8400-e29b-41d4-a716-446655440000/check_out", headers={ 'Content-Type': 'application/json'}, data="{}",)response.raise_for_status()Saved responses
Section titled “Saved responses”{ "type": "success", "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "checked_in": null }}{ "type": "error", "message": "Shift not found", "status": 404}
