Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Personal tokens no longer work. Need "Room" token #136

Open
i8ramin opened this issue May 14, 2015 · 2 comments
Open

Personal tokens no longer work. Need "Room" token #136

i8ramin opened this issue May 14, 2015 · 2 comments

Comments

@i8ramin
Copy link

i8ramin commented May 14, 2015

HipChat::Unauthorized: Access denied to room {room name}

Something must have changed very recently, but it seems that you can no longer send messages to a room via personal v2 token. You have to generate a "room" level token.

The API situation with Hipchat is VERY confusing. The right place to generate this new token is under Group Admin -> Rooms -> {Your Room} -> Tokens

The url should look something like this:
https://{company}.hipchat.com/admin/rooms/tokens/{room id}

@i8ramin
Copy link
Author

i8ramin commented May 14, 2015

Also, is it possible to use the Room ID vs the name?

@rberrelleza
Copy link
Contributor

If you're using the v2 API, yes, you can use the room id or the name. You can create the token for that on https://{company}.hipchat.com/account/api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants