Retrieving User
To fetch information on a given user (an internal agent to your org), use the following resource:
Single
GET https://driftapi.com/users/{userId}
ex: GET https://driftapi.com/users/228225
response-success:
{
data: User (See User Model)
}
Multiple
You can also retrieve up to 20 users at a time with single authenticated API call using this syntax.
GET https://driftapi.com/users?userId={userIds}
ex: GET https://driftapi.com/users?userId=228225&userId=243266
response-success:
{
data: {
228225: User,
243266: User
}
}
This call returns a map from userId -> User (Model)
for existing users in your org.
Updated over 3 years ago