InsionInsion
Ruby

Ingest a user

Create or update a user without ingesting a record

response = client.ingest_a_user(client_id: "user-123", email: "person@example.com", username: "person")

Only client_id is required. You may also provide client_url, stripe_account_id, email, name, username, protected, and metadata. Set protected: true for trusted users. IngestUserResponse returns the Insion user ID.

Method shape

client.ingest_a_user(request_options: {}, **params)
KeywordRequiredDescription
client_idYesYour stable user identifier.
client_urlNoProfile URL.
stripe_account_idNoConnected Stripe account ID.
email, name, usernameNoUser profile details.
protectedNoProtect the user from selected automated actions.
metadataNoCustom user context.

Passing a known client_id updates the profile. Store the returned Insion user ID: retrieval and appeals require that ID rather than your application identifier.

On this page