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)| Keyword | Required | Description |
|---|---|---|
client_id | Yes | Your stable user identifier. |
client_url | No | Profile URL. |
stripe_account_id | No | Connected Stripe account ID. |
email, name, username | No | User profile details. |
protected | No | Protect the user from selected automated actions. |
metadata | No | Custom 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.