Question Details

Getting profile info for bot


Previously there was an option to call the endpoint with channel access token, and it returned displayName and pictureUrl properties of the bot, useful for displaying on web. However attempts to call the endpoint now fail due to API v1 deprecation.

There is an endpoint exposed for getting user profiles, located at which looks like a logical successor of the deprecated call. However, calling the endpoint with channel access token renders a fail response, with error Authentication Failed. The same channel access token works just fine with endpoint

Could you advise whether this is a bug with /v2/profile or a dropped feature? Is there a way to get around this and get the display name and picture URL using the API?


Edited: 1 years ago
Profile picture


Are you sure? question.vm