Go
Ingest a user
Create or update a user without ingesting a record
response, err := client.IngestAUser(ctx, &sdk.UserInput{ClientID: "user-123", Email: sdk.String("person@example.com")})IngestAUser(context.Context, *sdk.UserInput, ...option.RequestOption) requires ClientID. The request additionally supports profile URL, Stripe account ID, email, name, username, protection status, and metadata. Keep response.ID for user retrieval and appeals.
User fields
ClientID is required. Optional fields are ClientURL, StripeAccountID, Email, Name, Username, Protected, and Metadata. Setting Protected marks a trusted user as exempt from selected automated actions. Reusing a known ClientID updates the user rather than creating a duplicate.