本文へスキップ

現在のユーザーを取得

GET
/users/me

返却フィールドは付与された scope に応じて変わります。制限付き scope では、メールアドレスなどの機微情報が空になることがあります。

Authorizations

CoinpostOAuth

OAuth 2.0 authorization code flow with PKCE.

authorizationCode Flow
Authorization URL"/oauth/authorize"
Token URL"/oauth/token"
Scopes:
  • "user.public"Read public profile fields.
  • "user.full"Read the full user profile.

Responses

Current user

application/json
JSON
{
  
"ts": 0,
  
"data": {
  
  
"id": 0,
  
  
"uuid": "string",
  
  
"name": "string",
  
  
"bio": "string",
  
  
"tagline": "string",
  
  
"avatar_image_url": "string",
  
  
"email": "string",
  
  
"lang": "string",
  
  
"status": 0,
  
  
"created_at": "string",
  
  
"role": "string"
  
}
}

Playground

Authorization

Samples