Mark task completed
Marks a task as completed by the user. Tasks only exist for businesses enrolled in bookkeeping services, and task lifecycle management is handled by Layer’s bookkeeping team. This endpoint is used by Layer’s <Tasks>
component to mark tasks as user completed, and if you use embedded components, you should not need to call this endpoint directly.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Content-Type must be set to application/json
Path Parameters
The UUID of the business to update
The UUID of the task to update
Response
Unique ID for the task
User response type for the task
FREE_RESPONSE
, UPLOAD_DOCUMENT
Title for the task
The question asked to the business owner
The business owner's response to the task
The status of the task
TODO
, USER_MARKED_COMPLETED
, COMPLETED
, ARCHIVED
, DELETED
The transaction the task is related to, if any.
Timestamp of when the task was created
Timestamp of when the task was last updated
Timestamp of when the business owner marked the task as completed.
Timestamp of when Layer marked the task as completed.
Timestamp of when the task was archived.