---
updatedAt: 2026-09-21T17:35:07.000Z
agentTools:
  projectIndex: https://developer.trulioo.com/llms.txt
---

# Update end clients status in bulk

***

Note: Valid updates to status depend on the current state of the end client. Below are the possible status updates.

| Current State  | Allowed Next State       |
| :------------- | :----------------------- |
| Abandoned      | N/A                      |
| Accepted       | Declined, Pending Review |
| In Progress    | Abandoned                |
| Not Started    | Abandoned                |
| Declined       | Accepted, Pending Review |
| Pending Review | Accepted, Declined       |

If the passed `status` in the request is not permissible, then a 4111 error is returned. Refer [Platform Errors](https://developer.trulioo.com/reference/errors#platform-errors)  for more information.

***

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Trulioo Platform API",
    "description": "# Introduction\nThe Trulioo Platform is used to create fast and compliant onboarding flows. The flow can be published from the dashboard in the Launcher page.\n\n### Purpose\nOur new API helps you take advantage of our flow builder and access our catalog of KYC services. Build the flow that fits your requirements thanks to our no-code platform, embed it into your application, and onboard all your end-clients seamlessly, Trulioo Platform takes care of the rest. The orchestration document provides a flow execution API.\n\n### Key features\nThe Trulioo Platform API grants control of the flow execution and user state to the client. The user state is associated with a session id (x-hf-session). See the diagram below for an overview of the integration.\n\n<img src=\"https://internal.workflow.dev.trulioo.com/api-docs/src/workflow_studio_diagram.jpg\" alt=\"workflow studio diagram\"  />",
    "termsOfService": "",
    "contact": {
      "name": "Customer Support",
      "url": "",
      "email": "support@trulioo.com"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.trulioo.com/wfs/interpreter-v2/"
    }
  ],
  "security": [],
  "tags": [
    {
      "name": "EndClient API",
      "description": "Use these endpoints when you want to link/unlink end clients or delete end clients in bulk.\n\n### Test Routes\nTo test these endpoints against a non-live version, prefix the endpoint path with `/test`.\n\nFor example, the path `/end-clients` becomes `/test/end-clients` for testing."
    }
  ],
  "paths": {
    "/end-clients/status": {
      "put": {
        "tags": [
          "EndClient API"
        ],
        "summary": "Update end clients status in bulk",
        "operationId": "updateEndClientsStatusManually",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UpdateEndClientsStatusRequestPayload"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The status for the end clients was updated"
          },
          "400": {
            "description": "Client provided invalid data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Invalid token provided"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "The supplied authentication is not authorized to access this resource"
              }
            }
          },
          "500": {
            "description": "Internal server error (which might be caused by a temporary issue)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Error message"
          },
          "code": {
            "type": "integer",
            "description": "Internal API error code",
            "format": "int32"
          }
        }
      },
      "UpdateEndClientsStatusRequestPayload": {
        "type": "object",
        "properties": {
          "endClientIds": {
            "type": "array",
            "description": "A list of unique identifiers for the clients to update. A maximum of 2000 IDs can be included.",
            "items": {
              "type": "string",
              "description": "A list of unique identifiers for the clients to update. A maximum of 2000 IDs can be included."
            }
          },
          "status": {
            "type": "string",
            "description": "The new status to apply to all specified clients. \nThe request will be validated to ensure only permitted status transitions occur. \n\n**Allowed Transitions:** \n- From `Accepted` to `Declined` or `Pending Review` \n- From `In Progress` to `Abandoned` \n- From `Not Started` to `Abandoned` \n- From `Declined`to `Accepted` or `Pending Review` \n- From `Pending Review` to `Accepted` or `Declined` \n\nNote: Leads with a status of `Abandoned` cannot be updated.",
            "enum": [
              "ACCEPTED",
              "REJECTED",
              "PENDING_REVIEW",
              "IN_PROGRESS",
              "NOT_STARTED",
              "ABANDONED"
            ]
          },
          "noteBody": {
            "type": "string",
            "description": "A note detailing the reason for the status update."
          }
        }
      }
    }
  }
}
```