Get a User Identity
Get a specified user identity
Returns a specified user identity.
Request
Specify the desired user identity by including the corresponding user_identity_id
in the request body.
Request Body Parameters
Sample Request
# Use GET or POST.
curl -X 'GET' \
'https://connect.getseam.com/user_identities/get' \
-H 'accept: application/json' \
-H 'Authorization: Bearer ${API_KEY}' \
-H 'Content-Type: application/json' \
-d '{
"user_identity_id": "48500a8e-5e7e-4bde-b7e5-0be97cae5d7a"
}'
userIdentity, uErr := client.UserIdentities.Get(
context.Background(),
useridentities.NewUserIdentitiesGetRequestFromUserIdentitiesGetRequestUserIdentityId(
&useridentities.UserIdentitiesGetRequestUserIdentityId{
UserIdentityId: "48500a8e-5e7e-4bde-b7e5-0be97cae5d7a",
},
),
)
if uErr != nil {
return uErr
}
fmt.Println(userIdentity)
return nil
Response
Returns a user_identity
containing the following properties:
This response also includes a Boolean ok
status indicator.
Sample Response
{
"user_identity": {
"user_identity_id": "48500a8e-5e7e-4bde-b7e5-0be97cae5d7a",
"user_identity_key": "jean_doe",
"email_address": "jean@example.com",
"phone_number": "+15555550110",
"display_name": "Jean Doe",
"full_name": "Jean Doe",
"created_at": "2024-01-11T05:37:50.264Z",
"workspace_id": "398d80b7-3f96-47c2-b85a-6f8ba21d07be"
},
"ok": true
}