Create Kakao Guild Chat Room
POST /v2/relation/kakao/create_guild
This interface allows users to create Kakao guild chat rooms.
Request Parameters
For the query parameters for interface calls, see Query Parameters.
| Parameters | Type | Description | Notes |
|---|---|---|---|
| openid | string | Player Network SDK user identification | Required |
| token | string | Player Network SDK token | Required |
| guildId | string | Guild ID in the game | Required |
| guildName | string | Guild name (set as the guild chat room name) | Required |
| nickName | string | Game nickname of the player creating the guild chat room | Required |
| worldId | string | Region server ID distributed by the game server | Optional |
| guildImage | string | Guild avatar URL (set as guild chat room avatar, default avatar used if not set) | Optional |
| desc | string | Guild description (set as guild chat room description) | Optional |
| profileImage | string | Game account avatar link of the player creating the guild chat room | Optional |
Request example
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"}'
Return Parameters
| Parameters | Type | Description |
|---|---|---|
| ret | uint | Return code 0: Success Others: Failure |
| msg | string | Detailed information of the result |
| worldId | string | Server ID distributed by the game server |
| guildId | string | Guild chat room ID created |
Return Sample
{
"guildId": "mock-guild",
"msg": "success",
"ret": 0,
"seq": "1650875532-0180225064-031744-0000002079",
"worldId": "mock-worId"
}