Create Kakao Guild Room
POST /v2/relation/kakao/create_guild
This endpoint enables the user to create a Kakao's guild chatroom.
Request parameters
For query parameters, see Query parameters.
Fields | Data Type | Description | Remark |
---|---|---|---|
openid | string | Player Network SDK OpenID | Required |
token | string | Player Network SDK Token | Required |
guildId | string | Guild ID used in the game | Required |
guildName | string | Guild Name (set as Guild Chat Room Name) | Required |
nickName | string | Game Nickname of User creating the Guild Chat Room | Required |
worldId | string | World ID issued by each Game Server | Optional |
guildImage | string | Guild Image URL (set as the Guild Chat Room Profile Image, default image is set if no image is present) | Optional |
desc | string | Guild Description (set as Guild Chat Room Description) | Optional |
profileImage | string | Game Profile Image URL of User creating the Guild Chat Room | Optional |
Request sample
curl -sS -X POST -H 'Content-Type: application/json' 'https://test.intlgame.com/v2/relation/kakao/create_guild?gameid=11&channelid=35&os=3&sdk_version=2.0&source=0&ts=&sig=1231231' -d '{"token":"a17106cdb5f4789e1ee9bc148b298e515f4917c8","openid":"67733109145611","guildId":"test-guildid","guildName":"test-guildname","nickName":"test-nickName"}'
Response parameters
Fields | Data Type | Description |
---|---|---|
ret | uint | Return code 0: success others: failure |
msg | string | Response message |
worldId | string | World ID issued by each Game Server |
guildId | string | Created Guild Chat Room ID |
Response sample
{
"guildId": "mock-guild",
"msg": "success",
"ret": 0,
"seq": "1650875532-0180225064-031744-0000002079",
"worldId": "mock-worId"
}