Skip to main content

Get a User by Id

Get a specific user by their userId.

caution

This endpoint has been deprecated and will be phased out at the end of 2023. Please update any existing usages of it to use the Get Object endpoint instead.

Endpoint

GET /v1/users/:userId

Parameters

ParameterDescriptionTypeRequired
userIdId of the user to retrieveURL paramyes

Request

curl "https://api.warrant.dev/v1/users/d6ed6474-784e-407e-a1ea-42a91d4c52b9" \
-H "Authorization: ApiKey YOUR_KEY"

Response

{
"userId": "d6ed6474-784e-407e-a1ea-42a91d4c52b9",
"email": "user@example.org"
}