Ruby
Retrieve a user
Retrieve one user by its Insion user ID
response = client.retrieve_a_user(user_id: "usr_123")
user = response.datauser_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: {})| Keyword | Required | Description |
|---|---|---|
user_id | Yes | Insion user ID. |
request_options | No | Per-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.