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
Body
Describes a free text response to a business task, where the user can provide any text as feedback or answer.
The free text response provided by the user.
"This is my response to the task."
Response
Unique ID for the task
User response type for the task
FREE_RESPONSE
, UPLOAD_DOCUMENT
Title for the task
"This is a demo task"
The question asked to the business owner
"On Wednesday, you spent $290.99 on example items. What was this purchase for?"
The status of the task
TODO
, USER_MARKED_COMPLETED
, COMPLETED
, ARCHIVED
, DELETED
Timestamp of when the task was created
Timestamp of when the task was last updated
The business owner's response to the task
"This is my response to the task."
The transaction the task is related to, if any.
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.