ユーザーを取得
GET
/v1/users/{user_id}ユーザーIDで特定のユーザーの情報を取得します。
Requestパラメータ
Pathパラメータ
user_id
string
必須
Notionユーザーの識別子
Headerパラメータ
Notion-Version
string
必須
サンプルコード
Response
200 Success - Retrieve a user(200)
200 Success - Retrieve a user
HTTPステータスコード: 200
コンテンツ形式: JSONapplication/json
データ構造
object
string
必須
id
string
必須
type
string
必須
person
object
必須
email
string
必須
name
string
必須
avatar_url
string
必須
例200 Success - Retrieve a user
{
"object": "user",
"id": "d40e767c-d7af-4b18-a86d-55c61f1e39a4",
"type": "person",
"person": {
"email": "avo@example.org",
},
"name": "Avocado Lovelace",
"avatar_url": "https://secure.notion-static.com/e6a352a8-8381-44d0-a1dc-9ed80e62b53d.jpg",
}
最終更新: 2 years ago