InsionInsion
PHP

Ingest a user

Create or update a user without ingesting a record

$response = $client->ingestAUser(new UserInput(['clientId' => 'user-123', 'email' => 'person@example.com']));

ingestAUser(UserInput $request, ?array $options = null): ?IngestUserResponse requires clientId. Optional fields include profile URL, Stripe account ID, email, name, username, protection status, and metadata. Keep the returned Insion user ID for retrieval and appeals.

Pass protected for users exempt from selected automated actions. Reusing clientId updates the user. The response’s ID is the Insion ID required by retrieveAUser and createAnAppeal; never substitute the application client ID.