사용자 조회

Prev Next

Classic/VPC 환경에서 이용 가능합니다.

사용자의 상세 정보를 조회합니다.

요청

요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.

메서드 URI
GET /v1/api/members/{userId}

요청 헤더

Ncloud Chat API에서 공통으로 사용하는 헤더에 대한 정보는 Ncloud Chat 요청 헤더를 참조해 주십시오.

요청 경로 파라미터

요청 경로 파라미터에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
userId String Required 사용자 아이디

요청 예시

요청 예시는 다음과 같습니다.

curl --location --request GET 'https://dashboard-api.ncloudchat.naverncp.com/v1/api/members/39c8de0f-****-****-****-6a1a875df59f' \
--header 'x-api-key: {API Key}' \
--header 'x-project-id: {Project ID}'

응답

응답 형식을 설명합니다.

응답 바디

응답 바디에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
id String - 사용자 아이디
project_id String - 프로젝트 아이디
member_id String - 사용자 아이디
name String - 사용자 이름
profile String - 사용자 프로필 이미지
memo String - 사용자에 대한 메모
country String - 접속 국가
remoteip String - 접속 IP 주소
adid String - 광고 아이디
device String - 디바이스
network String - 네트워크
version String - 버전
model String - 모델
deleted Boolean - 탈퇴 여부
  • true | false
    • true: 탈퇴
    • false: 탈퇴 안 함
online Boolean - 온라인 여부
  • true | false
    • true: 온라인
    • false: 오프라인
customField String - 사용자 정의 필드
device_type Array - 디바이스 유형
push Boolean - 푸시 알림 허용 여부
  • true | false
    • true: 허용
    • false: 차단
memberblock_id String - TBD
notifications Object - 푸시 알림 정보
notifications.token String - 푸시 토큰
notifications.device String - 디바이스 푸시 타입
  • FCM | APNS
notifications.os String - 운영 체제 버전
notifications.push Boolean - 푸시 알림 허용 여부
  • true | false
    • true: 허용
    • false: 차단
notifications.ad Boolean - 광고성 푸시 알림 허용 여부
  • true | false
    • true: 허용
    • false: 차단
notifications.night Boolean - 야간 푸시 알림 허용 여부
  • true | false
    • true: 허용
    • false: 차단
notifications.timezone String - 시간대
logined_at String - 마지막 로그인 일시
  • ISO 8601 형식
created_at String - 사용자 등록 일시
  • ISO 8601 형식
updated_at String - 정보 수정 일시
  • ISO 8601 형식
deleted_at String - 탈퇴 일시
  • ISO 8601 형식

응답 상태 코드

Ncloud Chat API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 Ncloud Chat 응답 상태 코드를 참조해 주십시오.

응답 예시

응답 예시는 다음과 같습니다.

{
    "id": "39c8de0f-****-****-****-6a1a875df59f",
    "project_id": "8be54b8b-****-****-****-84c0d5df2e9c",
    "member_id": "39c8de0f-****-****-****-6a1a875df59f",
    "name": "apitester",
    "profile": "",
    "memo": null,
    "country": "KR",
    "remoteip": "***.***.***.***",
    "adid": null,
    "device": null,
    "network": null,
    "version": null,
    "model": null,
    "deleted": false,
    "online": false,
    "customField": "",
    "device_type": [],
    "push": null,
    "memberblock_id": null,
    "notifications": {
        "token": "*********************************",
        "device": "APNS",
        "os": "iOS 18",
        "push": true,
        "ad": true,
        "night": true,
        "timezone": null
    },
    "logined_at": "2025-07-22T17:48:04+09:00",
    "created_at": "2025-07-22T11:11:05+09:00",
    "updated_at": "2025-07-22T17:48:04+09:00",
    "deleted_at": null
}