버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

Integration Guide > https:/wiki/spaces/KS4GFP/pages/533921827kakaogames.atlassian.net/wiki/x/Bw8GLw

목차
minLevel1
maxLevel1
outlinefalse
typelist
printablefalse

...

/member/player

Description

Player Query

Method

GET

Request Headers 

Name

Type

Mandatory

Description

Content-Type

String

Y

"application/json;charset=UTF-8"

appSecret

String

Y

App Secret

Authorization

String

Y

Authorization: KakaoAK {ADMIN_KEY}

kgAppId

String

Y

KG App IDId

Request Parameters

Name

Type

Mandatory

Description

playerId

String

Y

Player IDId

Response Status Code

Status Code

Status Code Description

Status Code Detailed Description

200

Normal Response

Normal

400

Bad Request

Unparsable request data, missing mandatory parameters, or parameter type error

401

Unauthenticated

Authentication Failed

406

Not Acceptable

Cannot process

500

Internal Server Error

Internal Server Errorserver system error

503

Service Unavailable

Service unavailable (e.g., internal server timeout)

Response Content

Name

Type

Description

kgAppId

String

KG App IDId

playerId

String

Player IDId

status

String

Player status

normal: normal

delete: 탈퇴 대기 상태(제재/보호조치 상태는 포함되지 않으며, 탈퇴 완료된 플레이어는 조회되지 않습니다pending unregistration

(Sanctions or protection measures are not included, and players who have completed withdrawal are not included in the query.)

info

PlayerInfo유저 상세 정보

Detailed player information

PlayerInfo

Name

Type

Description

nickname

String

닉네임Nickname

lang

String언어코드

Language code

data

Map<String,Object>

부가 정보Additional information

lastLoginTime

Long마지막 로그인 시각

Last login time

Example Request

코드 블럭
languagejson
GET /service/v5/member/player?playerId=255331998494720 HTTP/1.1
Host: kr-openapi-zinny3.game.kakao.com:10443
Content-Type: application/json;charset=UTF-8 
appSecret: c3c38bbfa3828b342d946e9770c974d0
Authorization: KakaoAK 37faf519f278646a58a30ed73e6f8a61
kgAppId: 909428

Example Response 

코드 블럭
languagejson
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8  

{
    "kgAppId": "909428",
    "playerId": "255331998494720",
    "status": "normal",
    "info": {
        "nickname": "kakaogames-1684393113872",
        "lang" : "KO"
        "lastLoginTime": 1684393114000
   }
}  

// accessToken 인증authentication 에러error.
HTTP/1.1 401

{
    "desc": "Invalid player token. (401.-20007)"
}  

// 플레이어No 정보player 없음information (-10005)
HTTP/1.1 406 Not Acceptable
{
    "desc": "There is no player. (406.-10005)"
}

...

/member/player-list

Description

플레이어 리스트 조회Retrieve a list of players.

Method

GET

Request Headers 

Name

Type

Mandatory

Description

Content-Type

String

Y

"application/json;charset=UTF-8"

appSecret

String

Y

시크릿App Secret

Authorization

String

Y

Authorization: KakaoAK {ADMIN_KEY}

kgAppId

String

Y

KG 앱 아이디App Id

Request Parameters

Name

Type

Mandatory

Description

playerIds

List<String>

N플레이어 아이디 리스트

List of Player Ids

idpCode

idpCode

N

Idp 인증 수단 이름authentication method name.

(kakaocapri: 카카오Kakao, google: 구글Google, facebook: 페이스북Facebook,

siwa: 애플Apple, twitter: 트위터Twitter)

idpIds

List<String>

N

idpId (최대 조회 가능 playerId : 1000개maximum query limit: 1000 player IDs)

Response Status Code

Status Code

Status Code 설명Description

Status Code 상세 설명Detailed Description

200정상

응답Normal Response

정상Normal

400

Bad Request파싱되지 않는 요청 데이터. 필수 파라미터 부족 or 파라미터 타입 오류

Unparsable request data, missing mandatory parameters, or parameter type error

401

Unauthenticated인증

실패Authentication Failed

406

Not Acceptable

처리 불가Cannot process

500

Internal Server Error서버

시스템 내부 오류Internal server system error

503

Service Unavailable

서비스가 가능하지 않은 상태 (예, 내부 서버간 Service unavailable (e.g., internal server timeout)

Response Content

Name

Type

Description

players

Map<String, List<Map<String, Player>>>

플레이어 리스트 정보List of player information

Player

Name

Type

Description

kgAppId

String

KG 앱 아이디App Id

playerId

String플레이어

아이디Player Id

status

String플레이어

상태Player status

normal: 정상normal

delete: 탈퇴 대기 상태(제재/보호조치 상태는 포함되지 않으며, 탈퇴 완료된 플레이어는 조회되지 않습니다pending unregistration

(Sanctions or protection measures are not included, and players who have completed withdrawal are not included in the query.)

info

PlayerInfo유저 상세 정보

Player detailed information

PlayerInfo

Name

Type

Description

nickname

String

닉네임Nickname

data

Map<String,Object>

부가 정보Additional Information

lastLoginTime

Long마지막 로그인 시각

Last login time

Example Request

코드 블럭
languagejson
GET /service/v5/member/player-list?playerIds=156176766994432,156176766994123 HTTP/1.1
Host: kr-openapi-zinny3.game.kakao.com:10443
Content-Type: application/json;charset=UTF-8 
appSecret: c3c38bbfa3828b342d946e9770c974d0
Authorization: KakaoAK 37faf519f278646a58a30ed73e6f8a61
kgAppId: 909428

...

코드 블럭
languagejson
GET /service/v5/member/player-list?idpCode=kakaocapri&idpIds=1234567,2222222 HTTP/1.1
Host: kr-openapi-zinny3.game.kakao.com:10443
Content-Type: application/json;charset=UTF-8 
appSecret: c3c38bbfa3828b342d946e9770c974d0
Authorization: KakaoAK 37faf519f278646a58a30ed73e6f8a61
kgAppId: 909428

Example Response 

코드 블럭
languagejson
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8  

// playerIds 조회query > 응답response 결과 playerId key
{
    "players": [
        {
            "156176766994432": {
                "kgAppId": "909428",
                "playerId": "156176766994432",
                "status": "normal",
                "nickname": "kakaogames-1672048155324",
                "lang": "ko",
                "data": {
                  "country": "kr",
                  "deviceId": "1234567890qwerasdfzxcv"
                }                  
            }
        },
        {
            "156176766994123": {
                "kgAppId": "909428",
                "playerId": "156176766994123",
                "status": "normal",
                "nickname": "kakaogames-1672048155324",
                "lang": "ko",
                "data": {
                  "country": "kr",
                  "deviceId": "1234567890qwerasdfzxcv"
                }                  
            }              
        }
    ]
}


// idpIds 조회query > 응답 결과response idpId key
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8  

{
    "players": [
        {
            "1234567": {
                "kgAppId": "909428",
                "playerId": "156176766994432",
                "status": "normal",
                "nickname": "kakaogames-1672048155324",
                "lang": "ko",
                "data": {
                  "country": "kr",
                  "deviceId": "1234567890qwerasdfzxcv"
                }                  
            }
        },
        {
            "2222222": {
                "kgAppId": "909428",
                "playerId": "156176766994123",
                "status": "normal",
                "nickname": "kakaogames-1672048155324",
                "lang": "ko",
                "data": {
                  "country": "kr",
                  "deviceId": "1234567890qwerasdfzxcv"
                }                  
            }              
        }
    ]
}

// 플레이어No 정보player 없음information
HTTP/1.1 406 Not Acceptable

{
    "desc": "There is no player. (406.-10005)"
}

...

/member/player/member-key

Description

플레이어의 멤버키 조회Query player member keys

Method

GET

Request Headers 

Name

Type

Mandatory

Description

Content-Type

String

Y

"application/json;charset=UTF-8"

appSecret

String

Y

시크릿App secret

Authorization

String

Y

Authorization: KakaoAK {ADMIN_KEY}

kgAppId

String

Y

KG 앱 아이디App Id

Request Parameters

Name

Type

Mandatory

Description

playerId

String

Y플레이어

아이디Player Id

Response Status Code

Status Code

Status Code

설명

Description

Status Code

상세 설명

Detailed Description

200

정상 응답

Normal Response

정상

Normal

400

Bad Request

파싱되지 않는 요청 데이터. 필수 파라미터 부족 or 파라미터 타입 오류

Unparsable request data, missing mandatory parameters, or parameter type error

401

Unauthenticated

인증 실패

Authentication Failed

406

Not Acceptable

처리 불가

Cannot process

500

Internal Server Error

서버 시스템 내부 오류

Internal server system error

503

Service Unavailable

서비스가 가능하지 않은 상태 (예, 내부 서버간

Service unavailable (e.g., internal server timeout)

Response Content

Name

Type

Description

memberKeyMap

Map<String, String>

멤버키 맵Member key map

key : idpCode (kakaocapri, google, facebook, zd3 etc..)

value : memberKey

Example Request

코드 블럭
languagejson
GET /service/v5/member/player/member-key?playerId=255331998494720 HTTP/1.1
Host: kr-openapi-zinny3.game.kakao.com:10443
Content-Type: application/json;charset=UTF-8 
appSecret: c3c38bbfa3828b342d946e9770c974d0
Authorization: KakaoAK 37faf519f278646a58a30ed73e6f8a61
kgAppId: 909428

Example Response 

코드 블럭
languagejson
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8  

{
  "memberKeyMap": {
    "kakaocapri": "KSa5X29vLQONBFWdPGu6ji_FQThn3.U3gdoLVUBHpFzMZtsEEhGHmcBocceNJc_H"
  }
}


// 플레이어No 정보player 없음information
HTTP/1.1 406 Not Acceptable
{
  "desc": "There is no player. (406.-10005)"
}

...

/member/uuid/player-id

Description

kgAppId와 UUID를 입력받아서 해당하는 playerId를 리턴합니다Retrieve playerId using kgAppId and UUID.

Method

POST

Request Headers 

Name

Type

Mandatory

Description

Content-Type

String

Y

"application/json;charset=UTF-8"

appSecret

String

Y

시크릿App Secret

Authorization

String

Y

Authorization: KakaoAK {ADMIN_KEY}

kgAppId

String

Y

KG 앱 아이디App Id

Request Parameters

Name

Type

Mandatory

Description

UUID

String

Y

UUID v4 형식 Stringformatted string

Response Status Code

Status Code

Status Code

설명

Description

Status Code

상세 설명

Detailed Description

200

정상 응답

Normal Response

정상

Normal

400

Bad Request

파싱되지 않는 요청 데이터. 필수 파라미터 부족 or 파라미터 타입 오류

Unparsable request data, missing mandatory parameters, or parameter type error

401

Unauthenticated

인증 실패

Authentication Failed

406

Not Acceptable

처리 불가

Cannot process

500

Internal Server Error

서버 시스템 내부 오류

Internal server system error

503

Service Unavailable

서비스가 가능하지 않은 상태 (예, 내부 서버간

Service unavailable (e.g., internal server timeout)

Response Content

Name

Type

Description

playerId

StringUUID에 해당하는 플레이어

Player Id corresponding to UUID

Example Request

코드 블럭
languagejson
POST /service/v5/member/uuid/player-id HTTP/1.1
Host: kr-openapi-zinny3.game.kakao.com:10443
Content-Type: application/json;charset=UTF-8 
appSecret: c3c38bbfa3828b342d946e9770c974d0
Authorization: KakaoAK 37faf519f278646a58a30ed73e6f8a61
kgAppId: 909428
{
    "UUID": "cd14f364-e82a-4839-9ae8-e4c7e8921837"
}

Example Response 

코드 블럭
languagejson
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8  
{
    "playerId": "314621196361"
}

...

/member/idp/info-list

Description

플레이어의 idp정보 목록 조회Retrieve a list of IDP information of a player.

Method

GET

Request Headers 

Name

Type

Mandatory

Description

Content-Type

String

Y

"application/json;charset=UTF-8"

appSecret

String

Y

시크릿App Secret

Authorization

String

Y

Authorization: KakaoAK {ADMIN_KEY}

kgAppId

String

Y

KG 앱 아이디App Id

Request Parameters

Name

Type

Mandatory

Description

playerId

String

Y플레이어

아이디Player Id

Response Status Code

Status Code

Status Code

설명

Description

Status Code

상세 설명

Detailed Description

200

정상 응답

Normal Response

정상

Normal

400

Bad Request

파싱되지 않는 요청 데이터. 필수 파라미터 부족 or 파라미터 타입 오류

Unparsable request data, missing mandatory parameters, or parameter type error

401

Unauthenticated

인증 실패

Authentication Failed

406

Not Acceptable

처리 불가

Cannot process

500

Internal Server Error

서버 시스템 내부 오류

Internal server system error

503

Service Unavailable

서비스가 가능하지 않은 상태 (예, 내부 서버간

Service unavailable (e.g., internal server timeout)

Response Content

Name

Type

Description

idpInfoList

List<IdpInfo>

IdpInfo 리스트list

IdpInfo

Name

Type

Description

idpCode

String

idpCode value

카카오 Kakao: kakaocapri
페이스북 Facebook : facebook
애플 Apple : siwa
구글 Google : google
트위터 Twitter : twitter
게스트 Guest : zd3
테스트 Test : dummy

idpId

String

idp Id

countryCode

String두자리 소문자 국가코드

Two-letter lowercase country code.

Example Request

코드 블럭
languagejson
GET /service/v5/member/idp/info-list?playerId=255331998494720 HTTP/1.1
Host: kr-openapi-zinny3.game.kakao.com:10443
Content-Type: application/json;charset=UTF-8 
appSecret: c3c38bbfa3828b342d946e9770c974d0
Authorization: KakaoAK 37faf519f278646a58a30ed73e6f8a61
kgAppId: 909428

Example Response 

코드 블럭
languagejson
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8  

{
  "idpInfoList": [
    {
      "idpCode": "dummy",
      "idpId": "1567694136",
      "countryCode": "kr"
    }
  ]
}


// 플레이어No 정보player 없음information
HTTP/1.1 406 Not Acceptable
{
  "desc": "Corresponding Idp player information does not exist. (406.-10012)",
  "content": {}
}

...