InsionInsion
Ruby

Retrieve a user

Retrieve one user by its Insion user ID

response = client.retrieve_a_user(user_id: "usr_123")
user = response.data

user_id is required and is the Insion ID returned by user ingestion or list_users. The user data includes profile fields, action status, protection state, and any appeal URL.

Method shape

client.retrieve_a_user(user_id:, request_options: {})
KeywordRequiredDescription
user_idYesInsion user ID.
request_optionsNoPer-request URL, headers, timeout, or additional parameters.

The response is Insion::Types::UserResponse; access the user through response.data. Do not pass your application’s client_id to this method.

On this page