LoginSignup
7
7

More than 5 years have passed since last update.

HipChat APIのaccess tokenを作成する。

Posted at

概要

HipChat APIではAccess Tokenが必要です。
作成の仕方を和訳しつつまとめました。

access token

Getting startedの右側にあるようにHipChat Rest API version2を使うにはpersonal access tokenが必要となります。
以下のURLからログインして取得します。
https://www.hipchat.com/sign_in?d=%2Faccount%2Fapi
access tokenには以下のようにscopeがあります。

scope名 説明
Administer Group グループのアドミン権限
Administer Room Roomのアドミン権限
Manage Rooms roomの作成/更新/削除権限
Send Message 1:1 private chatにメッセージを送る権限
Send Notification Roomに通知する権限
View Group グループやグループのuser/roomの情報を取得する権限
View message roomとこのaccess tokenを持っている人に対するprivate chatを取得する権限
View Room roomの情報と参加者を取得する権限。ただし、履歴は取得できない

ページの下からLabel名を入力し必要なScopesを選択してCreateしましょう。
なお、ScopesとあるようにShiftを押しながら複数のScopeを選択可能です。
create_new_token.JPG

7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7