If you need to retrieve information about a specific user in DailyBot, you can use the following API endpoint:
Endpoint: GET /users/{user-uuid}/
Query String Parameters:
-
user-uuid
: User’s ID.
Example Request:
"uuid":"5945bf0g2-66f5-4b29-bbd6-07421dfga87"
}
Example Response:
"uuid":"5945bf0g2-66f5-4b29-bbd6-07421dfga87",
"full_name": "John Wick",
"image": "https://secure.gravatar.com/avatar/image.png",
"username": "Wick10",
"occupation": "Teammate",
"birth_date":"05-12",
"chat_platform_data": {
"user_external_id":"Z32HVBCQ98D"
},
"organization": {
"uuid": "4e322341-1262-42fa3-942a-0341d90883f6",
"name": "Alexa OC"
}
}
How to Use:
-
Access the User Information Endpoint: Utilize the
GET
method on/users/{user-uuid}/
, replacing{user-uuid}
with the actual UUID of the user you want information about. -
Include User UUID in Query Parameters: Make sure to include the
user-uuid
parameter in your request. In the example, the user UUID is "5945bf0g2-66f5-4b29-bbd6-07421dfga87". -
Retrieve User Data: The response will provide detailed information about the specified user, including their UUID, full name, image URL, username, occupation, birth date, chat platform data, and the organization they belong to.
Feel free to use this API endpoint to obtain user-specific details for your integration or application. If you have further questions or require assistance, don't hesitate to contact our support team at support@dailybot.com.
Comments
0 comments
Article is closed for comments.