InsionInsion
Java

Ingest a user

Create or update a user without ingesting a record

IngestUserResponse response = client.ingestAUser(
    UserInput.builder()
        .clientId("user-123")
        .email("person@example.com")
        .username("person")
        .build()
);

clientId is required. The builder also supports clientUrl, stripeAccountId, email, name, username, protected, and metadata. Use protected(true) for trusted users that should be exempt from selected automated actions.

Method signature

IngestUserResponse ingestAUser(UserInput request)
IngestUserResponse ingestAUser(UserInput request, RequestOptions options)

UserInput is immutable after build(). Store response.getId() as the Insion user ID for later retrieval and appeal calls. Passing an existing clientId updates the matching user.

On this page