List requirements (checklist items) for a task.
const url = 'https://api-us.suiteop.com/api/v1/task-requirements?taskId=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api-us.suiteop.com/api/v1/task-requirements?taskId=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0' \ --header 'Authorization: Bearer <token>'List the requirements (checklist items / element-targeted items) attached to a specific task, with per-item completion state. Returns each item’s group title, description, isCompleted, completedAt, completedById, answer (for dropdown / condition items), photos[] (completion artifacts), flag (red-flagged for review), isAiVerified (AI-photo-verification passed), elementName (for element-targeted requirements like ‘Kitchen — Sink’). Use to answer: ‘what’s left on task X?’, ‘show me completed requirements for task Y’, ‘were all photos uploaded?’, ‘are any items flagged?’, ‘what did the field team report on this task?’. getTask only returns the aggregate count — this returns the actual list.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Responses
Section titled “ Responses ”Success.
object
Response payload.
object
object
object
Response metadata present on every success response.
object
Present on list responses.
object
Page size used for this request.
Number of items skipped.
Total number of matching items (across all pages).
Unique identifier for this request.
Example generated
{ "data": { "groups": [ { "id": "example", "optionSetId": "example", "photoRequired": true, "photoRequirement": "example", "title": "example", "type": "example" } ], "items": [ { "answer": "example", "checklistItem": { "description": "example", "id": "example" }, "checklistItemId": "example", "completedAt": "2026-04-15T12:00:00Z", "completedById": "example", "createdAt": "2026-04-15T12:00:00Z", "element": { "id": "example", "name": "example", "parentElementName": "example", "parentElementType": "example", "parentId": "example", "type": "example" }, "elementInstanceId": "example", "flag": true, "group": { "id": "example", "optionSetId": "example", "photoAiVerificationPrompt": "example", "photoRequired": true, "photoRequirement": "example", "targetCategoryId": "example", "title": "example", "type": "example" }, "groupId": "example", "id": "example", "isAiVerified": true, "isCompleted": true, "photos": [ "example" ], "sortOrder": 1, "taskId": "example", "userCreated": true } ] }, "meta": { "pagination": { "limit": 1, "offset": 1, "total": 1 }, "requestId": "example" }}Headers
Section titled “Headers ”Maximum requests per minute for this API key.
Remaining requests in the current rate-limit window.
Unix epoch seconds when the rate-limit window resets.
Unique identifier for this request (matches meta.requestId in the body).
400
Error envelope returned for HTTP 400 responses.
object
object
Machine-readable error code.
Optional structured details (omitted when undefined).
object
Human-readable error message.
Error type.
object
Example
{ "error": { "type": "validation_error" }}Headers
Section titled “Headers ”Maximum requests per minute.
Remaining requests in the current window.
Unix epoch seconds when the window resets.
Request correlation id (also in meta.requestId).
401
Error envelope returned for HTTP 401 responses.
object
object
Machine-readable error code.
Optional structured details (omitted when undefined).
object
Human-readable error message.
Error type.
object
Example
{ "error": { "type": "authentication_error" }}Headers
Section titled “Headers ”Request correlation id (also in meta.requestId).
403
Error envelope returned for HTTP 403 responses.
object
object
Machine-readable error code.
Optional structured details (omitted when undefined).
object
Human-readable error message.
Error type.
object
Example
{ "error": { "type": "authorization_error" }}Headers
Section titled “Headers ”Maximum requests per minute.
Remaining requests in the current window.
Unix epoch seconds when the window resets.
Request correlation id (also in meta.requestId).
404
Error envelope returned for HTTP 404 responses.
object
object
Machine-readable error code.
Optional structured details (omitted when undefined).
object
Human-readable error message.
Error type.
object
Example
{ "error": { "type": "not_found_error" }}Headers
Section titled “Headers ”Maximum requests per minute.
Remaining requests in the current window.
Unix epoch seconds when the window resets.
Request correlation id (also in meta.requestId).
409
Error envelope returned for HTTP 409 responses.
object
object
Machine-readable error code.
Optional structured details (omitted when undefined).
object
Human-readable error message.
Error type.
object
Example
{ "error": { "type": "conflict_error" }}Headers
Section titled “Headers ”Maximum requests per minute.
Remaining requests in the current window.
Unix epoch seconds when the window resets.
Request correlation id (also in meta.requestId).
422
Error envelope returned for HTTP 422 responses.
object
object
Machine-readable error code.
Optional structured details (omitted when undefined).
object
Human-readable error message.
Error type.
object
Example
{ "error": { "type": "business_rule_error" }}Headers
Section titled “Headers ”Maximum requests per minute.
Remaining requests in the current window.
Unix epoch seconds when the window resets.
Request correlation id (also in meta.requestId).
429
Error envelope returned for HTTP 429 responses.
object
object
Machine-readable error code.
Optional structured details (omitted when undefined).
object
Human-readable error message.
Error type.
object
Example
{ "error": { "type": "rate_limit_error" }}Headers
Section titled “Headers ”Number of seconds to wait before retrying.
Maximum requests per minute.
Remaining requests in the current window.
Unix epoch seconds when the window resets.
Request correlation id (also in meta.requestId).
500
Error envelope returned for HTTP 500 responses.
object
object
Machine-readable error code.
Optional structured details (omitted when undefined).
object
Human-readable error message.
Error type.
object
Example
{ "error": { "type": "internal_error" }}Headers
Section titled “Headers ”Maximum requests per minute.
Remaining requests in the current window.
Unix epoch seconds when the window resets.
Request correlation id (also in meta.requestId).