getUser
Retrieves the User object for a valid identifier.
GET
/v1/chat/users/{id}Authorization
AuthorizationBearerBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Header parameters
x-bp-authenticated-principalstringAuthenticated principal. Injected by the authentication middleware.
x-bot-idstringBot id
x-integration-id?stringIntegration id
x-integration-alias?stringIntegration alias
Path parameters
idstringUser ID
Response
Returns a User object if a valid identifier was provided. Returns an Error otherwise
userobjectThe user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.