Introduction

This documentation aims to provide all the information you need to work with our API.

About API endpoint URL

The endpoint URL is https://api.icafecloud.com

API Wiki

Getting Started

The following instructions explain how to generate and use the API

  1. When switching the iCafeCloud license between master and slave servers (EU3 to EU4), there is no need to update the API, as it remains unchanged. However, if you switch to a different server group ( EU3 to EU18), the API key must be recreated.
  2. Log in to the Admin panel using the "Admin" account, as only the Admin account can create APIs.
  3. You must use a static IP or a VPS, as the IP will be bound to the token. To ensure optimal API usage, it is recommended to make API calls from a static IP server, such as a VPS, rather than directly from a client device.
  4. You can use either IPv4 or IPv6 for the API IP.
  5. To add more than one IP to the list, separate them with commas ( IP1, IP2, IP3).
  6. To assist users in identifying their exact IP address during troubleshooting, the system will now include the user's IP address directly in error message
    {"code": 401, "message'": "Unauthorization from YOUR_IP"}
  7. From the "Settings" page of the Cloud Panel, add the IP you selected as your server IP under "API Access IP." Then, generate your API key by clicking the "Create" button.
  8. Note that the API key is valid for one year.
  9. The API address is fixed as api.icafecloud.com
  10. Once you create a new API key, the old API key will become invalid. We only support one API key at a time.
  11. Click the "Copy" button and save your api key. It's only shown once.
  12. API docs https://dev.icafecloud.com/docs/
  13. You need to add a http header with the "Authorization: Bearer api_key" to authenticate the API access.
  14. To add parameters on the API use Body and not Headers.[On postman can use Body , Form-data and add parameters.
  15. The API endpoint URL should always use HTTPS not HTTP.
  16. You can try the API directly on the iCafeCloud dev.icafecloud.com. Follow these steps:
    • Click the link to https://dev.icafecloud.com/docs/#boot-pcs-apis
    • Fill in the Bearer token and CafeID, which you can find in your iCafeCloud license.
    • Click "Send Request" to retrieve data from the PCs.
    • This process allows you to interact with and test the API functionalities effectively.
  17. Notify balance changes to client PC. Once you've initiated the top-up API call, the next step would be to call the pushClientstatus API. This step is crucial as it ensures that the client's PC is notified of the update
  18. For the API to auto add bonus on topup use:
    • To get the bonus = POST api/v2/cafe/{cafeId}/members/action/fetchBonus
    • And use it as parameter at = POST api/v2/cafe/{cafeId}/members/action/topup -> topup_balance_bonus

Get parameters format in API

Last Updated: Apr 26, 2024

This is how to find API parameters using the console.

  1. To identify the parameters for the APIs, open the Chrome console and navigate to the Network tab. Perform an action from the iCafeCloud panel, and you will find the parameters in the Network tab. For example: you can purchase an offer as a member. In the console, you will be able to locate the parameters being used for this action. (Figure 1)

API limitations

Last Updated: 2024-04-26

Api load ate limitation is 200 request per minute

Max limit for some operations:

  • const MAX_STAFF = 100;
  • const MAX_MEMBERGROUP = 100;
  • const MAX_MEMBER = 50000;
  • const MAX_NEWS = 100;
  • const MAX_PRICE = 100;
  • const MAX_PRODUCTGROUP = 100;
  • const MAX_PRODUCT = 500;
  • const MAX_OFFER = 1000;
  • const MAX_PCGROUP = 100;
  • const MAX_PC = 500;
  • const MAX_ROOM = 100;
  • const MAX_PAUSE = 100;
  • const MAX_BOOTPC = 500;
  • const MAX_HARDWARE = 100;
  • const MAX_GAMECLASS = 100;
  • const MAX_GAME = 1000;
  • const MAX_POOL = 100;
  • const MAX_POOLLICENSE = 100;
  • const MAX_EVENT = 100;
  • const MAX_IDCCONFIG = 100;
  • const MAX_IDCCLASS = 100;
  • const MAX_ORDER = 5000;

Get member id by member account via API

Last Updated: Oct 11, 2024

Retrieve a member ID using a member account via the API

  1. To retrieve the member ID using member accounts via the API, refer to the API in the link below.(Figure 1)
    https://dev.icafecloud.com/docs/#members-apis-POSTapi-v2-cafe--cafeId--members-action-memberInfo

Get CCBoot Client status via API

Last Updated: Oct 11, 2024

How to get ccboot client status by api

  1. Get CCBoot client status by wss command front he link below
    https://dev.icafecloud.com/docs/#pc-sessions-apis-POSTapi-v2-cafe--cafeId--pcSessions-sendWssCommand
  2. For command use “pc_status”
    {"action":"pcs_status","target":"boot","type":"request","from":"web","version":2,"data":[]}

Remote reboot CCBoot Client via API

Last Updated: Oct 11, 2024

How to reboot ccboot client by api

  1. To send a reboot command to a client PC via the API, find the appropriate API in the link below.
    https://dev.icafecloud.com/docs/#pc-sessions-apis-POSTapi-v2-cafe--cafeId--pcSessions-sendWssCommand
  2. For command use “power” (Figure 1)
  3. We support 3 different commands as "reboot", "shutdown", "poweron"
    {"action":"power", "target":"boot","data":{"power_type":"reboot","ids":[24]}}

Authenticating requests

To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

You can retrieve your token by visiting your dashboard and clicking Settings -> API settings -> Create, Generate API token (We only support one API token).

Config APIs

Center settings

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/centerSettings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//configs/centerSettings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "timezone="

Client settings

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/clientSettings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//configs/clientSettings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \

Game settings

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/gameSettings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//configs/gameSettings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \

Payment settings

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/paymentSettings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//configs/paymentSettings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Layalty settings

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/loyaltySettings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//configs/loyaltySettings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Member settings

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/memberSettings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//configs/memberSettings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Protection setting

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/protectionSettings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//configs/protectionSettings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Shop settings

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/shopSettings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//configs/shopSettings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Generate API key

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/action/generateApiKey
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//configs/action/generateApiKey" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "api_key_ips=culpa"

Set games button status

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/action/gamesButtonStatusSet
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//configs/action/gamesButtonStatusSet" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "show_enable_games=12"\
    --form "show_disabled_games=12"\
    --form "show_games_icon_view=12"

Games settings

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/action/gamesSettingsSet
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//configs/action/gamesSettingsSet" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \

SMS provider settings

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/smsProviderSettings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//configs/smsProviderSettings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \

Get config lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//configs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}
GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/action/centerLogo
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//configs/action/centerLogo" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:

Get games button status

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/action/gamesButtonStatusGet
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//configs/action/gamesButtonStatusGet" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Get games settings

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/action/gamesSettingsGet
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//configs/action/gamesSettingsGet" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Tax info

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/action/taxInfo
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//configs/action/taxInfo" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Vnc server code

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/configs/action/vncServerCode
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//configs/action/vncServerCode" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

PCs APIs

Get rooms

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs/action/member_rooms
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pcs/action/member_rooms" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "area_icafe_id": 7777,
            "area_name": "VIP",
            "area_index": 0,
            "area_frame_x": 20,
            "area_frame_y": 50,
            "area_frame_width": 560,
            "area_frame_height": 440,
            "area_allow_booking": 1
        }
    ]
}

Update PCs

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//pcs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pcs="\
    --form "edit_pc_name="\
    --form "edit_pc_group_id=1"\
    --form "edit_pc_console_type=1"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "pcs": [
            {
                "pc_icafe_id": 7777,
                "pc_ip": "192.168.1.140",
                "pc_name": "compuspler",
                "pc_mac": "5A-9A-9B-26-DD-C4",
                "pc_comment": "",
                "pc_console_type": 0,
                "pc_group_id": 0,
                "pc_area_name": "VIP",
                "pc_box_position": "absolute",
                "pc_box_top": 300,
                "pc_box_left": 240,
                "pc_enabled": 1,
                "pc_mining_enabled": 0,
                "pc_mining_tool": "",
                "pc_mining_options": "",
                "recent_booking": null,
                "pc_group_name": null,
                "status_connect_time_local": "2025-03-10 00:26:40",
                "status_disconnect_time_local": "2025-03-10 02:26:40",
                "status_connect_time_duration": "187:10:01",
                "status_connect_time_left": "-185:10:01",
                "status_pay_by_member_id": 0,
                "member_id": 57843940664,
                "member_icafe_id": 7777,
                "member_account": "K93B83",
                "member_balance": "2.00",
                "member_balance_bonus": "0.00",
                "member_group_id": -2,
                "member_group_name": null,
                "member_group_desc": null,
                "member_group_discount_rate": null,
                "offer_in_using": null,
                "price_name": "Default",
                "status_total_time": "-185:10:01"
            }
        ]
    }
}

Delete PCs

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//pcs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pcs="

For multi-PC editing

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs/action/multiPcInfo
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcs/action/multiPcInfo" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pcs="

Set out of order

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs/action/setOutOfOrder
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcs/action/setOutOfOrder" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pcs="

Get PC lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs/action/getPcsList
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

pc_name
string
required

PC name.

pc_console_type
integer
required

Console type(1-Other,2-Xbox,3-PS3,4-PS4,5-PS5,6-Will).

Body Parameters

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pcs/action/getPcsList?pc_name=&pc_console_type=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_name=culpa"\
    --form "pc_console_type=12"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Save PC layout

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs/action/savePcLayout
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcs/action/savePcLayout" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "room_list=[{"area_frame_x":20,"area_frame_y":50,"area_frame_width":560,"area_frame_height":440,"area_name":"VIP","area_allow_booking":1}]"\
    --form "pc_list=[{"pc_name":"C01-1","pc_area_name":"VIP","pc_box_position":"absolute","pc_box_top":300,"pc_box_left":96}]"

Get rooms

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs/action/rooms
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pcs/action/rooms" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "area_icafe_id": 7777,
            "area_name": "VIP",
            "area_index": 0,
            "area_frame_x": 20,
            "area_frame_y": 50,
            "area_frame_width": 560,
            "area_frame_height": 440,
            "area_allow_booking": 1
        }
    ]
}

Console details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs/action/consoleDetail
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

pc_name
string
required

PC name.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pcs/action/consoleDetail?pc_name=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

PCs lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs/action/member_pcs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pcs/action/member_pcs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "pc_icafe_id": 7777,
            "pc_ip": "",
            "pc_name": "C01-1",
            "pc_mac": "",
            "pc_comment": "A",
            "pc_console_type": 6,
            "pc_group_id": 0,
            "pc_area_name": "VIP",
            "pc_box_position": "absolute",
            "pc_box_top": 300,
            "pc_box_left": 144,
            "pc_enabled": 1,
            "pc_mining_enabled": 0,
            "pc_mining_tool": "",
            "pc_mining_options": "",
            "pc_in_using": 0
        }
    ]
}

PCs lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pcs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "pc_icafe_id": 7777,
            "pc_ip": "",
            "pc_name": "C01-1",
            "pc_mac": "",
            "pc_comment": "A",
            "pc_console_type": 6,
            "pc_group_id": 0,
            "pc_area_name": "VIP",
            "pc_box_position": "absolute",
            "pc_box_top": 300,
            "pc_box_left": 144,
            "pc_enabled": 1,
            "pc_mining_enabled": 0,
            "pc_mining_tool": "",
            "pc_mining_options": "",
            "pc_in_using": 0
        }
    ]
}

Add PC

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_name="\
    --form "pc_console_type=1"\
    --form "pc_group_id=1"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "pcs": [
            {
                "pc_icafe_id": 7777,
                "pc_ip": "192.168.1.140",
                "pc_name": "compuspler",
                "pc_mac": "5A-9A-9B-26-DD-C4",
                "pc_comment": "",
                "pc_console_type": 0,
                "pc_group_id": 0,
                "pc_area_name": "VIP",
                "pc_box_position": "absolute",
                "pc_box_top": 300,
                "pc_box_left": 240,
                "pc_enabled": 1,
                "pc_mining_enabled": 0,
                "pc_mining_tool": "",
                "pc_mining_options": "",
                "recent_booking": null,
                "pc_group_name": null,
                "status_connect_time_local": "2025-03-10 00:26:40",
                "status_disconnect_time_local": "2025-03-10 02:26:40",
                "status_connect_time_duration": "187:10:01",
                "status_connect_time_left": "-185:10:01",
                "status_pay_by_member_id": 0,
                "member_id": 57843940664,
                "member_icafe_id": 7777,
                "member_account": "K93B83",
                "member_balance": "2.00",
                "member_balance_bonus": "0.00",
                "member_group_id": -2,
                "member_group_name": null,
                "member_group_desc": null,
                "member_group_discount_rate": null,
                "offer_in_using": null,
                "price_name": "Default",
                "status_total_time": "-185:10:01"
            }
        ]
    }
}

Boot hardware APIs

Boot hardware lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootHardwareProfiles
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootHardwareProfiles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add boot hardware

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootHardwareProfiles
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

hardware_id
integer
required

Hardware ID.

hardware_desc
string
required

Description.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//bootHardwareProfiles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "hardware_id=culpa"\
    --form "hardware_desc=culpa"

Delete boot hardware

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootHardwareProfiles/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//bootHardwareProfiles/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Products APIs

Get product lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/products
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

product_group_id
string

Product group ID.

search_text
string

Search text.

sort_name
string

Sort by name.

sort
string

Sort order.

page
integer

Page number.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//products" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Get product details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/products/{productId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

productId
integer
required

Product ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//products/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add product

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/products
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//products" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "product_name="\
    --form "product_group_id="\
    --form "product_show_weekday=7|1|2|3|4|5|6|"\
    --form "product_show_time=00:00-24:00"

Update products

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/products/{productId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

productId
integer
required

Product ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//products/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "product_name="\
    --form "product_group_id="\
    --form "product_show_weekday=7|1|2|3|4|5|6|"\
    --form "product_show_time=00:00-24:00"

Delete product

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/products/{productId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

productId
integer
required

Product ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//products/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Restock

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/products/{productId}/restock
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

productId
integer
required

Product ID.

restock_count
integer
required

Restock count.

Query Parameters

restock_count
string
required
Example:
culpa
Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//products//restock?restock_count=culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Import product

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/products/action/importProducts
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//products/action/importProducts" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "license_name="\
    --form "license_password="

News APIs

Get news lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/news
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//news" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add news

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/news
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//news" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "news_name="\
    --form "news_order="\
    --form "news_url="\
    --form "news_type="

Update news

PUT
PATCH
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/news/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//news/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "news_name="\
    --form "news_order="\
    --form "news_url="\
    --form "news_type="

Delete news

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/news/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//news/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Boot disks APIs

Boot game fix lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootGamefixes
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootGamefixes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add boot game fix

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootGamefixes
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//bootGamefixes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "gamefix_name="\
    --form "gamefix_path="

Delete boot game fix

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootGamefixes
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//bootGamefixes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name="

Add boot disk

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootDisks
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//bootDisks" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "disk_drive="\
    --form "disk_type=unused"\
    --form "disk_cache_ram_size_m=15"\
    --form "disk_cache_ssd_size_m=0"

Update boot disk

PUT
PATCH
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootDisks/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//bootDisks/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "disk_drive="\
    --form "disk_type=unused"\
    --form "disk_cache_ram_size_m=15"\
    --form "disk_cache_ssd_size_m=0"

Delete boot disk

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootDisks/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//bootDisks/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Boot disk lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootDisks
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootDisks" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "disk_id": 8,
            "disk_icafe_id": 7777,
            "disk_drive": "U:",
            "disk_type": "unused",
            "disk_cache_ram_size_m": 0,
            "disk_cache_ssd_size_m": 0,
            "disk_drive_client": "",
            "disk_user_group": -2
        }
    ]
}

Boot disk details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootDisks/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootDisks/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "info": {
            "disk_id": 1,
            "disk_icafe_id": 7777,
            "disk_drive": "D:",
            "disk_type": "game",
            "disk_cache_ram_size_m": 15,
            "disk_cache_ssd_size_m": 0,
            "disk_drive_client": "",
            "disk_user_group": 1731927
        },
        "group_list": [
            {
                "pc_group_icafe_id": 7777,
                "pc_group_id": 1730280,
                "pc_group_name": "Col1",
                "pc_group_desc": "Col1"
            }
        ]
    }
}

Promo APIs

Get promo lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/promo
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//promo" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add promo

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/promo
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//promo" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "promo_name="\
    --form "promo_qty="\
    --form "promo_bonus_type="\
    --form "promo_bonus_amount="\
    --form "promo_bonus_for="

Update promo

PUT
PATCH
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/promo/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

Promo ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//promo/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "promo_name="\
    --form "promo_qty="\
    --form "promo_bonus_type="\
    --form "promo_bonus_amount="\
    --form "promo_bonus_for="

Delete promo

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/promo/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

Promo ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//promo/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

PC sessions APIs

Get payment info

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/paymentInfo
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/paymentInfo" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pcs="

Init add time money

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/initAddTimeMoney
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/initAddTimeMoney" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pcs="\
    --form "pc_add_value="\
    --form "pc_add_time_type="

Init offer

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/initOffer
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/initOffer" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pcs="

Topup balance and start/update session

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/addTimeMoney
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/addTimeMoney" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_name="\
    --form "pc_cost="\
    --form "payment_method="

Member session

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/memberSession
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/memberSession" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_name="\
    --form "member_account="

Postpaid session

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/postpaidSession
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/postpaidSession" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pcs="

Add offer

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/addOffer
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/addOffer" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pcs="\
    --form "offer_id="\
    --form "offer_payment_method="

Free session

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/freeSession
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/freeSession" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pcs="

Checkout

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/checkout
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/checkout" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_name="\
    --form "pc_group_id="\
    --form "member_id="\
    --form "member_account="\
    --form "member_group_id="\
    --form "pc_cost="\
    --form "pc_data_time="\
    --form "pc_data_sign="\
    --form "payment_method="\
    --form "auto="

Move

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/move
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/move" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_name="\
    --form "move_to="

Add admin message

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/adminMessage
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/adminMessage" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_name="\
    --form "member_account="\
    --form "message="

Cashier expense

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/cashierExpense
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/cashierExpense" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "balance="

Push client status

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/pushClientStatus
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/pushClientStatus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \

Send wss command

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcSessions/sendWssCommand
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcSessions/sendWssCommand" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "command="

Boot PCs APIs

Get boot PC lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootPcs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootPcs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "bpc_id": 2,
            "bpc_icafe_id": 7777,
            "bpc_name": "PC131",
            "bpc_enable": 1,
            "bpc_name_auth": 0,
            "bpc_ip": "192.168.17.131",
            "bpc_ip_auth": 1,
            "bpc_mac": "00:0C:29:1D:74:79",
            "bpc_mac_auth": 1,
            "bpc_password": "",
            "bpc_password_auth": 0,
            "bpc_groupid": 0,
            "bpc_image1_id": 1101,
            "bpc_image2_id": 0,
            "bpc_write_back_keep": 0,
            "bpc_diskless_boot_pxe": "ipxe.pxe",
            "bpc_diskless_boot_gw": "",
            "bpc_diskless_boot_dns1": "",
            "bpc_diskless_boot_dns2": "",
            "bpc_diskless_boot_hw": "",
            "bpc_diskless_boot_server": "192.168.17.131",
            "bpc_diskless_boot_display_enable": 0,
            "bpc_diskless_boot_display": "",
            "bpc_diskless_boot_client_cache_enable": 0,
            "bpc_diskless_boot_client_cache": "0",
            "bpc_diskless_boot_upload": 0,
            "bpc_diskless_boot_client_cache_to_local": 0,
            "bpc_personal_disk_enable": 0,
            "bpc_personal_disk_path": "",
            "bpc_personal_disk_size": "",
            "bpc_newip": 0,
            "bpc_device_in_super": 0,
            "bpc_enable_failover": 0,
            "bpc_last_time": "2022-12-10 05:36:53",
            "bpc_ven_dev": "",
            "bpc_child_image_name": "Default",
            "bpc_comment": "",
            "bpc_color": "#FFFFFF",
            "bpc_cpu": null,
            "bpc_mb": null,
            "bpc_vga": null,
            "bpc_ram": null,
            "bpc_nic_description": null,
            "bpc_mining_enabled": 0,
            "bpc_mining_tool": "",
            "bpc_mining_options": "",
            "image1_name": "WIN7",
            "image2_name": null,
            "hw_hardware_id": "",
            "pc_group_name": null,
            "boot_image": "WIN7",
            "hardware_profile": "Default",
            "client_cache": "N/A",
            "status": "Offline"
        }
    ]
}

Get boot PC details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootPcs/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootPcs/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add boot PC

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootPcs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//bootPcs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "bpc_name="

Update boot PC

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootPcs/{bpcId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

bpcId
string
required
Example:
culpa
bcpId
integer
required

BCP ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//bootPcs/culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "bpc_name="

Delete boot PC

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootPcs/{bpcId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

bpcId
string
required
Example:
culpa
bcpId
integer
required

BCP ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//bootPcs/culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Enable super client init

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootPcs/{bpcId}/enableSuperClientInit
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

bpcId
string
required
Example:
culpa
bcpId
integer
required

BCP ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootPcs/culpa/enableSuperClientInit" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Disable super client init

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootPcs/{bpcId}/disableSuperClientInit
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

bpcId
string
required
Example:
culpa
bcpId
integer
required

BCP ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootPcs/culpa/disableSuperClientInit" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Keep write back

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootPcs/{bpcId}/keepWriteBack
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

bpcId
string
required
Example:
culpa
bcpId
integer
required

BCP ID.

Body Parameters

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootPcs/culpa/keepWriteBack" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "enable="
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Get Empty PC

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootPcs/action/emptyPc
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootPcs/action/emptyPc" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Update multiple boot PCs

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootPcs/action/updateMulti
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//bootPcs/action/updateMulti" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "ids="

Game classes APIs

Get game classes lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/gameClasses
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//gameClasses" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add game classes

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/gameClasses
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//gameClasses" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "class_name="

Update game classes

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/gameClasses
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//gameClasses" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "class_name="\
    --form "class_order="\
    --form "class_name_old="

Delete game classes

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/gameClasses
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//gameClasses" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "class_name=culpa"

Product groups APIs

Get product group lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/productGroups
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//productGroups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "items": [
            {
                "product_group_icafe_id": 7777,
                "product_group_id": -1,
                "product_parent_group_id": 97664172,
                "product_group_name": "Offers",
                "product_group_desc": "",
                "product_group_icon": null,
                "product_group_update": "2022-11-30 17:03:37",
                "product_group_payment_method": "{\"guest\": [\"cash\", \"credit_card\", \"balance\"], \"member\": [\"cash\", \"credit_card\", \"balance\"]}",
                "has_icon": 0
            }
        ]
    }
}

Add product group

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/productGroups
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//productGroups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "product_group_name="

Update product group

PUT
PATCH
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/productGroups/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

Product group ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//productGroups/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "product_group_name="

Delete product group

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/productGroups/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

Product group ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//productGroups/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Pools APIs

Get pool lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pools
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pools" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Get pool details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pools/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

Pool ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pools/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add pool

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pools
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pools" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pool_name="\
    --form "game_ids=1,2,3"\
    --form "pc_group_ids=1,2,3"\
    --form "member_group_ids=1,2,3"

Update pool

PUT
PATCH
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pools/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

Pool ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//pools/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pool_name="\
    --form "game_ids=1,2,3"\
    --form "pc_group_ids=1,2,3"\
    --form "member_group_ids=1,2,3"

Delete pool

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pools/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

Pool ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//pools/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Offers APIs

Get offers details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/offers/{productId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

productId
integer
required

ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//offers/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add offers

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/offers
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//offers" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "product_name="

Update offers

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/offers/{productId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

productId
integer
required

Product ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//offers/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "product_name="

Delete offers

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/offers/{productId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

productId
integer
required

Product ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//offers/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Check offers

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/offers/{productId}/check
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

productId
integer
required

Product ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//offers//check" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Members APIs

Get member details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/{memberId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

memberId
integer
required

Member ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//members/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "member": {
            "member_id": 57843940635,
            "member_icafe_id": 7777,
            "member_account": "test13",
            "member_balance": "138.00",
            "member_first_name": "asd",
            "member_last_name": "as",
            "member_birthday": "1990-10-10",
            "member_expire_time_local": "2028-01-01",
            "member_is_active": 1,
            "member_photo": "",
            "member_email": "",
            "member_telegram_username": "",
            "member_telegram_username_valid": 0,
            "member_phone": "",
            "member_id_card": "",
            "member_points": "137.00",
            "member_create": "2023-01-12T08:57:48.000000Z",
            "member_update": "2025-03-09T09:59:48.000000Z",
            "member_group_id": 143598,
            "member_balance_bonus": "94.00",
            "member_coin_balance": "-1.00",
            "member_sex": 0,
            "member_comments": "abcabc",
            "member_address": "",
            "member_company_id": 0,
            "member_loan": "0.00",
            "member_recent_played": null,
            "member_id_icafe_id": 578439406357777,
            "member_oauth_user_id": "0",
            "member_oauth_platform": "account",
            "member_balance_with_loan": "138.00",
            "member_group_name": "ab4"
        },
        "member_groups": [
            {
                "member_group_id": 143567,
                "member_group_name": "VIP7776"
            }
        ],
        "orders": [],
        "total_amount": 0,
        "currency": "$"
    }
}

Add member

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "member_account="\
    --form "member_password="\
    --form "member_oauth_platform=culpa"

Update member

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/{memberId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

memberId
string
required
Example:
culpa

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//members/culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "member_oauth_platform=culpa"

Verify member info

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/memberInfo
requires authentication

verify password, get member id from member name

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members/action/memberInfo" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "member_account="

Add guest account

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/addGuest
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members/action/addGuest" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "member_expire_time_local="\
    --form "member_balance="

Topup

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/topup
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members/action/topup" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "topup_ids="\
    --form "topup_value="

Add loan

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/loan
requires authentication

add loan to member

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members/action/loan" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "loan_id="\
    --form "loan_value="

Get topup bonus

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/fetchBonus
requires authentication

get bonus from topup

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members/action/fetchBonus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \

Multiple update members

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/multiUpdate
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members/action/multiUpdate" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "member_ids="

Reset member password

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/resetPassword
requires authentication

set password to 123456

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members/action/resetPassword" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "member_ids="

Reset member game coins

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/resetGameCoin
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members/action/resetGameCoin" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Reset member game coins

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/resetPoint
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members/action/resetPoint" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Multiple delete members

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/multiDelete
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members/action/multiDelete" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "member_ids="

Get member settings

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/memberSettings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//members/action/memberSettings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Export member to csv

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//members/action/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Get center player rank url

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/rankingUrl
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//members/action/rankingUrl" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Search member

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/suggestMembers
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

search_text
string
required

search text.

has_detail
integer

the result includes details or not.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//members/action/suggestMembers?search_text=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Get member offer list

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/{memberId}/offers
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

memberId
integer
required

Member ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//members//offers" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Export csv template

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/exportTemplate
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//members/action/exportTemplate" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Import member from csv

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/import
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members/action/import" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Import member by license name

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/importMembers
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//members/action/importMembers" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "license_name=culpa"\
    --form "license_password=culpa"

Get member lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

search_text
string

Search text.

search_field
string

Search field.

sort_name
string

Sort field(member_account,member_balance,member_balance_bonus,member_group_name,member_group_id,member_first_name,member_last_name,member_expire_time_local,member_is_active,member_coin_balance,member_points,member_phone,member_loan,member_comments,member_center_name,member_icafe_id,member_create,member_update,member_oauth_platform).

sort
string

Sort direction ('desc' or 'asc').

page
integer

Page number (1 - n).

guest
integer

Search guest or not (0, 1).

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//members" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "license_using_billing": 1,
        "point_enable": 1,
        "members": [
            {
                "member_id": 57843940663,
                "member_icafe_id": 7777,
                "member_account": "eva-aa1",
                "member_balance": "0.00",
                "member_first_name": "eva",
                "member_last_name": "aal",
                "member_birthday": "2021-01-25",
                "member_expire_time_local": "2028-01-01",
                "member_is_active": 1,
                "member_photo": "",
                "member_email": "",
                "member_telegram_username": "",
                "member_telegram_username_valid": 0,
                "member_phone": "",
                "member_id_card": "",
                "member_points": "0.00",
                "member_create": "2024-11-25 06:56:57",
                "member_update": "2024-11-25 07:07:00",
                "member_group_id": 143578,
                "member_balance_bonus": "0.00",
                "member_coin_balance": "0.00",
                "member_sex": 0,
                "member_comments": "bgko111",
                "member_address": "",
                "member_company_id": 0,
                "member_loan": "0.00",
                "member_recent_played": null,
                "member_id_icafe_id": "578439406637777",
                "member_oauth_user_id": "0",
                "member_oauth_platform": "account",
                "member_create_local": "2024-11-25 20:56:57",
                "member_update_local": "2024-11-25 21:07:00",
                "member_is_expired": 0,
                "member_is_logined": 0,
                "offers": 0,
                "member_group_discount_rate": 0,
                "member_group_discount_pc_time": 0,
                "member_group_discount_offer": 0,
                "member_group_name": "VIP2",
                "left_time": "0h 0m",
                "is_owner": true,
                "member_center_name": "Local"
            }
        ],
        "paging_info": {
            "total_records": 3080,
            "pages": 62,
            "page": "1",
            "page_prev": 1,
            "page_next": 2,
            "page_start": 1,
            "page_end": 6,
            "start_from": "0",
            "end_from": "50"
        },
        "member_remind_count": 0
    }
}

Get member init data

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/members/action/memberInitData
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//members/action/memberInitData" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Reports APIs

Report data

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/reports/reportData
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

date_start
string
required

Start date.

date_end
string
required

End date.

time_start
string
required

Start time.

time_end
string
required

End time.

log_staff_name
string

Staff name.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//reports/reportData?date_start=&date_end=&time_start=&time_end=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Report chart

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/reports/reportChart
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

date_start
string
required

Start date.

date_end
string
required

End date.

log_staff_name
string

Staff name.

Example:
all
chart_type
string

Chart type(income,totup,sale,product).

Example:
income
Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//reports/reportChart?date_start=&date_end=&log_staff_name=all&chart_type=income" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "series": [
            {
                "name": "Drink",
                "data": [
                    0,
                    0,
                    29
                ]
            }
        ],
        "categories": [
            "2025-03-01",
            "2025-03-02",
            "2025-03-03"
        ],
        "report": {
            "staff": "All",
            "report_start": "2025-03-01 00:00:00",
            "report_end": "2025-03-26 23:59:00"
        }
    }
}

Shift list

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/reports/shiftList
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

date_start
string
required

Start date.

date_end
string
required

End date.

time_start
string
required

Start time.

time_end
string
required

End time.

shift_staff_name
string
required

Staff name.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//reports/shiftList?date_start=&date_end=&time_start=&time_end=&shift_staff_name=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Shift detail

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/reports/shiftDetail/{shiftId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

shiftId
string
required
Example:
culpa
Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//reports/shiftDetail/culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Mining APIs

Get mining centers

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/mining/centers
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
string
required
Example:
culpa
Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe/culpa/mining/centers" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 401,
    "message": "Unauthenticated."
}

Get withdrawal details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/mining/withdrawalDetail
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
string
required
Example:
culpa

Query Parameters

page
integer

Page.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe/culpa/mining/withdrawalDetail" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 401,
    "message": "Unauthenticated."
}

Get PC lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/mining/pcs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//mining/pcs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Update PC

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/mining/pcs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//mining/pcs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pcs="

Get current mining overall status

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/mining/status
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//mining/status" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Get current mining balance

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/mining/balance
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//mining/balance" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Wallet logs

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/mining/walletLogs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

page
integer

Page.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//mining/walletLogs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Billiard APIs

Add/edit billiard table

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs/action/saveAreaLayout
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcs/action/saveAreaLayout" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "area_name="
Example response:
{
    "code": 200,
    "message": "success",
    "data": true
}

Delete billiard table

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcs/action/removeAreaLayout
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//pcs/action/removeAreaLayout" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "area_name="
Example response:
{
    "code": 200,
    "message": "success",
    "data": true
}

Pool licenses APIs

Get pool license lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pools/{poolId}/licenses
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

poolId
integer
required

Pool ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pools//licenses" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add pool license

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pools/{poolId}/licenses
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

poolId
integer
required

Pool ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pools//licenses" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "license_type=0"\
    --form "license_account="\
    --form "license_password="

Update pool license

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pools/{poolId}/licenses
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

poolId
integer
required

Pool ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//pools//licenses" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "license_account="\
    --form "license_password="\
    --form "license_type=0"

Delete pool license

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pools/{poolId}/licenses
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

poolId
integer
required

Pool ID.

Body Parameters

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//pools//licenses" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "license_account="

Get pool license info

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pools/{poolId}/licenses/action/licenseInfo
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

poolId
integer
required

Pool ID.

Query Parameters

type
string
required

Type(options:Normal,Steam,EA,Battle.net,Epic,Uplay,Riot,Rockstar,VK Play,Windows App).

account
string
required

Account.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pools//licenses/action/licenseInfo?type=&account=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Unlock

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pools/{poolId}/licenses/action/unlock
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

poolId
integer
required

Pool ID.

Query Parameters

license_account
string
required
Example:
culpa

Body Parameters

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pools//licenses/action/unlock?license_account=culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "license_account="
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

license APIs

Get license info

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/license/info
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//license/info" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Update license info

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/license/info
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//license/info" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "license_email="\
    --form "license_contact="\
    --form "license_address="\
    --form "license_latlng="\
    --form "license_country="

Activate serial number

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/license/active
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//license/active" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Staffs APIs

Get staff lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/staffs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//staffs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add staff

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/staffs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//staffs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "staff_name="\
    --form "staff_password="\
    --form "staff_role="

Get staff details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/staffs/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//staffs/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Update staff

PUT
PATCH
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/staffs/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//staffs/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "staff_name="\
    --form "staff_password="\
    --form "staff_role="

Delete staff

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/staffs/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//staffs/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Start shift

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/staffs/action/startShift
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//staffs/action/startShift" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "staff_shift_cash_start="

End shift

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/staffs/action/endShift
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//staffs/action/endShift" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Check shift

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/staffs/action/checkShift
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//staffs/action/checkShift" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Game logs APIs

Get game log lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/gameLogs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

page
integer

Page.

Example:
1
search
string

Keyword.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//gameLogs?page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Export game log

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/gameLogs/action/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

search
string

Keyword.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//gameLogs/action/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Booking APIs

Booking lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bookings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

pc_name
string

PC name.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bookings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add booking

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bookings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//bookings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_name="\
    --form "member_account="\
    --form "start_date="\
    --form "start_time="\
    --form "mins=0"\
    --form "guest_booking=0"

Delete booking

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bookings
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//bookings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_name="\
    --form "member_offer_id="

Initial booking session

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bookings/action/initBookingSession
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

pc_name
string
required

PC name.

member_account
string
required

Member account.

start_date
string
required

Start date.

start_time
string
required

Start time.

mins
integer
required

Min.

Example:
0
comment
string

Min.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bookings/action/initBookingSession?pc_name=&member_account=&start_date=&start_time=&mins=0" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Calculate amount

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/calculate/amount
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

pc_name
string
required

PC name.

mins
integer

Mins.

member_account
string

Member account.

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//calculate/amount?pc_name=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Calculate time

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/calculate/time
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

pc_name
string
required

PC name.

topup_amount
string
required
Example:
culpa
member_account
string

Member account.

mins
integer

Mins.

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//calculate/time?pc_name=&topup_amount=culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Pause APIs

Add pause times

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pauseTimes
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pauseTimes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Delete pause times

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pauseTimes
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//pauseTimes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Get pause times list

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pauseTimes
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pauseTimes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Orders APIs

Add order

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
string
required

Cafe ID.

Body Parameters

Response Fields

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//orders" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "product_id="\
    --form "order_item_qty=1"\
    --form "order_payment_method=0"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "order_no": 557,
        "member_id": 0,
        "qty_changed_products": [
            {
                "id": "p-571018237",
                "qty": 85
            }
        ]
    }
}

Get order detail

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

Order NO.

Response Fields

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//orders/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
  "code": 200,
  "message": "success",
  "data": {
    "license_printer": "",
    "items": [
      {
        "order_icafe_id": 7777,
        "order_item_id": 80448449811,
        "order_item_qty": 1,
        "order_item_qty_balance": 85,
        "order_product_id": 571018237,
        "order_product_cost": "1.0000000000",
        "order_product_price": "5.2500000000",
        "order_discount_rate": 0,
        "order_tax": "0.2500000000",
        "order_money": 5.25,
        "order_pc": "",
        "order_status": 2,
        "order_create_time": "2025-03-16T13:36:25.000000Z",
        "order_no": 557,
        "order_payment_method": 0,
        "order_member_id": 0,
        "order_staff_id": 186604904,
        "order_print_times": 0,
        "order_product_code": "",
        "order_create_time_local": "2025-03-17 03:36:25",
        "staff_name": "admin",
        "product_icafe_id": 7777,
        "product_id": 571018237,
        "product_name": "Milk",
        "product_qty": 85,
        "product_cost": "1.0000000000",
        "product_price": "5.0000000000",
        "product_tax_id": 1,
        "product_coin_price": 0,
        "product_icon": null,
        "product_unlimited": 0,
        "product_enable_client": 1,
        "product_group_id": 97664229,
        "product_barcode": "132312",
        "product_enable_code": 0,
        "product_image": "",
        "product_update_time": "2025-03-16T13:36:25.000000Z",
        "product_is_promoted": 0,
        "product_enable_discount": 1,
        "product_combo": null,
        "product_show_weekday": "7|1|2|3|4|5|6",
        "product_show_time": "00:00-24:00"
      }
    ],
    "member": null,
    "cancel_enable": 1,
  }
}

Update order

PUT
PATCH
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
string
required
Example:
culpa
id
string
required

The ID of the order.

Example:
culpa
Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe/culpa/orders/culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Cancel Order

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders/{id}
requires authentication

When the member uses the balance to place an order on the PC side

  1. If order have OFFER + product, balance immediately deducted, the OFFER takes effect immediately, but product inventory does not decrease. order status is PENDING.
  2. Employees if confirm this PENDING ORDER, reduce the stock, the status changes to DONE
  3. If the employee cancel this PENDING ORDER, the balance is returned, OFFER is deleted, the status is changed to CANCELLED

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

Order ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//orders/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "qty_changed_products": [
            {
                "id": "p-571018237",
                "qty": 86
            }
        ],
        "shop_badge": 1
    }
}

Get order information by Member Offer ID

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders/action/orderInfoByMemberOfferId
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

memberOfferId
integer
required

Member Offer ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//orders/action/orderInfoByMemberOfferId?memberOfferId=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "order_no": 1,
        "member_id": 1
    }
}

Export orders

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders/action/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

search_text
string
Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//orders/action/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "filename": "export.csv",
        "csvContent": ""
    }
}

Add print count

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders/{orderNo}/addOrderPrintTimes
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

orderNo
integer
required

Order No.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//orders//addOrderPrintTimes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success"
}

Offer used status

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders/{orderNo}/offerUsedStatus
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

orderNo
integer
required

Order No.

Response Fields

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//orders//offerUsedStatus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "member_offer_id": 2745295597,
            "member_offer_icafe_id": 7777,
            "member_offer_member_id": 57843940337,
            "member_offer_offer_id": 23641201,
            "member_offer_left_seconds": 600,
            "member_offer_create_time": "2025-03-13 03:20:36",
            "member_offer_first_used_time": null,
            "member_offer_order_item": 80448447730,
            "member_offer_money": "0.00",
            "member_offer_allow_refund": 1,
            "member_offer_is_used": 0
        }
    ]
}

Confirm order

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders/{orderNo}/confirm
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

orderNo
integer
required

Order No.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//orders//confirm" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "qty_changed_products": [
            {
                "id": "p-571018237",
                "qty": 86
            }
        ],
        "shop_badge": 1
    }
}

Search member

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders/action/shopMemberList
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

search_text
integer

Search Text.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//orders/action/shopMemberList" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "member_account": "test",
            "member_display": "test",
            "member_id": 57843938397,
            "member_icafe_id": 7777,
            "member_group_id": 143579,
            "member_group_discount_rate": 0,
            "member_group_discount_offer": 0,
            "member_group_discount_pc_time": 0
        }
    ]
}

Get member discount rate

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders/action/shopMemberGroupDiscountRate
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

member_id
integer
required

Member ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//orders/action/shopMemberGroupDiscountRate?member_id=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "member_group_discount_rate": 0,
        "member_group_discount_offer": 0,
        "member_group_discount_pc_time": 0
    }
}

Get order lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

search_text
string

Search keyword.

page
integer

Page number.

Example:
1
sort_name
string
sort
string

Response Fields

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//orders?page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "items": [
            {
                "order_no": 1633,
                "order_create_time_local": "2025-03-16 23:32:23",
                "order_discount_rate": 0,
                "order_money": "26.25",
                "order_status": 2,
                "order_staff_id": 186605025,
                "order_member_id": 57843942663,
                "order_product_ids": "23641357,571018271,571018269,571018273",
                "staff_name": "",
                "member_account": ""
            }
        ],
        "paging_info": {
            "total_records": 370,
            "pages": 25,
            "page": "1",
            "page_prev": 1,
            "page_next": 2,
            "page_start": 1,
            "page_end": 6,
            "start_from": "0",
            "end_from": "15"
        }
    }
}

Shop initialization data

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/orders/action/shopInitData
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//orders/action/shopInitData" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "product_group_list": [
            {
                "product_group_id": -1,
                "product_group_name": "Offers",
                "product_parent_group_id": 97664172
            }
        ],
        "product_list": [
            {
                "product_id": "p-571018193",
                "product_name": "BBBB",
                "product_qty": 0,
                "product_price": "100.0000000000",
                "product_tax_id": 3,
                "product_unlimited": 1,
                "sort_qty": 1,
                "product_group_id": 2828443,
                "product_barcode": "",
                "product_image": null,
                "product_pc_groups": "[\"0\"]",
                "product_member_groups": "[\"0\"]",
                "product_show_weekday": "",
                "product_show_time": "",
                "product_enable_code": 0,
                "product_enable_discount": 1,
                "product_is_offer": 0,
                "product_parent_group_id": 0,
                "product_group_name": "Default"
            }
        ],
        "currency": "$",
        "payment_method_cash": 1,
        "payment_method_credit_card": 1,
        "payment_method_balance": true,
        "cafe_name": "Youngzsoft Test Cafe",
        "license_printer": ""
    }
}

Prices APIs

Get price lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/prices
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//prices" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add price

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/prices
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//prices" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "price_name="\
    --form "price_round="\
    --form "price_type="

Get price details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/prices/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

Price ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//prices/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Update price

PUT
PATCH
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/prices/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
string
required

The ID of the price.

Example:
culpa

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//prices/culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "price_name="\
    --form "price_round="\
    --form "price_type="

Delete price

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/prices/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

Price ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//prices/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Get PC group lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pricePcGroups
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pricePcGroups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Get member group lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/priceMemberGroups
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//priceMemberGroups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Boot images APIs

Add boot image

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootImages
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//bootImages" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "image_name=Windows 11"\
    --form "image_path="

Get boot image details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootImages/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
string
required

The ID of the bootImage.

Example:
culpa
imageId
integer
required

Image ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootImages/culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "info": {
            "image_id": 1101,
            "image_icafe_id": 7777,
            "image_name": "WIN7",
            "image_path": "U:\\VMs\\SIWIN7X64PRO\\SIWIN7X64PRO.VHD",
            "image_image_in_mount": 0,
            "image_image_mount_physicaldrive_number": "",
            "image_image_mount_letter": "",
            "image_size_g": "0.00",
            "image_pnp": null
        }
    }
}

Update boot image

PUT
PATCH
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootImages/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
string
required

The ID of the bootImage.

Example:
culpa
imageId
integer
required

Image ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//bootImages/culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "image_name=Windows 11"\
    --form "image_path="

Delete boot image

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootImages/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
string
required

The ID of the bootImage.

Example:
culpa
imageId
integer
required

Image ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//bootImages/culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Disk recovery init

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootImages/{imageId}/diskRecoveryInit
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

imageId
integer
required

Image ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootImages//diskRecoveryInit" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Get Boot image lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootImages
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootImages" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
  "code": 200,
  "message": "success",
  "data": [
    {
      "image_id": 1103,
      "image_icafe_id": 7777,
      "image_name": "Win7",
      "image_path": "U:\\VMs\\SIWIN7X64PRO\\SIWIN7X64PRO.VHD",,
      "image_image_in_mount": 0,
      "image_image_mount_physicaldrive_number": "",
      "image_image_mount_letter": "",
      "image_size_g": "0.00",
      "image_pnp": null,
      "has_super": 0,
      "last_update_time": null
    }
  ]
}

Boot parameters APIs

Add boot parameter

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootParams
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

xml_file
string

file required XML file(max:2048).

ini_file
string

file required Ini file(max:2048).

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//bootParams" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "xml_file=pasyzwszwtxpeqq"\
    --form "ini_file=ikymwkiinfowtzm"

Update boot parameter

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootParams
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//bootParams" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "startiscsi="\
    --form "iscsiport="

Update DHCP

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootParams/action/updateDhcp
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//bootParams/action/updateDhcp" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "starttftp="\
    --form "startproxydhcp="\
    --form "proxydhcpport="

Get boot parameter list

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/bootParams
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//bootParams" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Event APIs

Get event lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/events
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//events" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add event

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/events
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//events" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "event_name="\
    --form "event_game_code="\
    --form "event_start_date_utc="\
    --form "event_start_time_utc="\
    --form "event_end_date_utc="\
    --form "event_end_time_utc="\
    --form "event_top_winners="

Get event details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/events/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
string
required

Id.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//events/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Updated event

PUT
PATCH
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/events/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
string
required

Event ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//events/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "event_name="\
    --form "event_game_code="\
    --form "event_start_date_utc="\
    --form "event_start_time_utc="\
    --form "event_end_date_utc="\
    --form "event_end_time_utc="\
    --form "event_top_winners="

Delete event

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/events/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
string
required

Event ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//events/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Event ranking details

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/events/{eventId}/detail
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

eventId
string
required

Event ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//events//detail" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Publish event

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/events/{eventId}/publish
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

eventId
string
required

Event ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//events//publish" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Allocate bonus

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/events/{eventId}/allocateBonus
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

eventId
string
required

Event ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//events//allocateBonus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Join event

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/events/{eventId}/joinEvent
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

eventId
string
required

Event ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//events//joinEvent" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "member_id="

PC groups APIs

Get PC group lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcGroups
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//pcGroups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add PC group

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcGroups
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//pcGroups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_group_name="

Update PC group

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcGroups/{pcGroupId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

pcGroupId
integer
required

ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//pcGroups/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_group_name=culpa"

Delete PC Group

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/pcGroups/{pcGroupId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

pcGroupId
integer
required

ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//pcGroups/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Base data APIs

Query base data

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/base/query
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//base/query" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Member groups APIs

Get member group lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/memberGroups
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//memberGroups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add member group

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/memberGroups
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//memberGroups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "member_group_name="

Update member group

PUT
PATCH
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/memberGroups/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//memberGroups/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "member_group_name="

Delete member group

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/memberGroups/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
integer
required

ID.

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//memberGroups/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Games APIs

Get game lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//games" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Get game show

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
string
required

The ID of the game.

Example:
culpa
Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//games/culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add game

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//games" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pkg_name="\
    --form "pkg_idc_class="\
    --form "pkg_local_path="

Update game

PUT
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{gameId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

gameId
integer
required

ID.

Body Parameters

Example request:
curl --request PUT \
    "https://api.icafecloud.com/api/v2/cafe//games/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pkg_name="\
    --form "pkg_idc_class="\
    --form "pkg_local_path="

Delete game

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{gameId}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

gameId
integer
required

ID.

Body Parameters

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//games/" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "del_files=culpa"

Get IDC game info

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{gameId}/idcGameInfo
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

gameId
integer
required

ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//games//idcGameInfo" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Delete IDC game

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{gameId}/deleteIdc
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

gameId
integer
required

ID.

Body Parameters

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//games//deleteIdc" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "del_files=culpa"

Update remove

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{gameId}/updateRemove
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

gameId
integer
required

ID.

Body Parameters

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//games//updateRemove" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "del_files=culpa"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Repair game

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{gameId}/repair
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

gameId
integer
required

ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//games//repair" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Enable game

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{gameId}/enable
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

gameId
integer
required

ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//games//enable" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pkg_name="\
    --form "pkg_idc_class="\
    --form "pkg_local_path="

Copy game

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{gameId}/copy
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

gameId
integer
required

ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//games//copy" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Update to IDC direct

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{gameId}/updateToIdcDirect
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

gameId
integer
required

ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//games//updateToIdcDirect" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Poster

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{gameId}/poster
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

gameId
integer
required

ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//games//poster" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Report update problem for idc games

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{gameId}/makeReportUpdateProblemWssPackage
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

gameId
integer
required

Game ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//games//makeReportUpdateProblemWssPackage" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Clear hot

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/{gameId}/clearHot
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

gameId
integer
required

Game ID.

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//games//clearHot" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Get game APPID list

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/action/appids
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

game_type
integer
required

Game type.

search_text
string

Search text.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//games/action/appids?game_type=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Import game

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/games/action/importGames
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//games/action/importGames" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "license_name="\
    --form "license_password="

Billing log APIs

Billing log lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

page
integer

Page.

Example:
1
staff
string

Staff name.

member
string

Member account.

event
string

Event.

pc
string

PC name.

date_start
string

Start date.

time_start
string

Start time.

date_end
string
time_end
string

End time.

member_or_guest
string

Member or guest (options: member, guest).

end_start
string

End date.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs?page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Date range

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs/action/dateRange
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs/action/dateRange" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Feedback logs

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs/action/feedbackLogs
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

page
integer

Page number.

Example:
1
read
integer

Options (0 for unread messages, 1 for read messages, -1 for all messages).

Example:
1
Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs/action/feedbackLogs?page=1&read=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Change log

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs/action/changeLog
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs/action/changeLog" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Export billing logs

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs/action/export
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

staff
string

Staff name.

member
string

Member account.

event
string

Event.

pc
string

PC name.

date_start
string

Start date.

time_start
string

Start time.

end_start
string

End date.

time_end
string

End time.

member_or_guest
string

Member or guest (options: member, guest).

Body Parameters

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs/action/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "filename": "xxx.csv",
        "csvContent": ""
    }
}

Assistant log

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs/action/assistantLog
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

page
integer

Page.

Example:
1
pageSize
integer

Page size.

Example:
15
assistant
string

Assistant.

Example:
15
member
string

Member account.

date_start
string

Start datetime(Y-m-d H:i:s).

date_end
string

End datetime(Y-m-d H:i:s).

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs/action/assistantLog?page=1&pageSize=15&assistant=15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Assistant log export

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs/action/assistantLogExport
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

assistant
string

Assistant.

Example:
15
member
string

Member account.

date_start
string

Start datetime(Y-m-d H:i:s).

date_end
string

End datetime(Y-m-d H:i:s).

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs/action/assistantLogExport?assistant=15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "filename": "xxx.csv",
        "csvContent": ""
    }
}

Assistant summary

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs/action/assistantSummary
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

page
integer

Page.

Example:
1
pageSize
integer

Page size.

Example:
15
assistant
string

Assistant.

Example:
15
member
string

Member account.

date_start
string

Start datetime(Y-m-d H:i:s).

date_end
string

End datetime(Y-m-d H:i:s).

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs/action/assistantSummary?page=1&pageSize=15&assistant=15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Assistant summary export

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs/action/assistantSummaryExport
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

assistant
string

Assistant.

Example:
15
member
string

Member account.

date_start
string

Start datetime(Y-m-d H:i:s).

date_end
string

End datetime(Y-m-d H:i:s).

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs/action/assistantSummaryExport?assistant=15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "filename": "xxx.csv",
        "csvContent": ""
    }
}

Assistant ranking

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs/action/assistantRanking
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

limit
integer

Limit.

Example:
20
ranking_type
string

Ranking type(options:amount,duration).

Example:
amount
date_start
string

Start datetime(Y-m-d H:i:s).

date_end
string

End datetime(Y-m-d H:i:s).

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs/action/assistantRanking?limit=20&ranking_type=amount" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Member ranking

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs/action/memberRanking
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

limit
integer

Limit.

Example:
20
ranking_type
string

Ranking type(options:amount,duration,number).

Example:
amount
date_start
string

Start datetime(Y-m-d H:i:s).

date_end
string

End datetime(Y-m-d H:i:s).

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs/action/memberRanking?limit=20&ranking_type=amount" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Notification list

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs/action/importantNotifies
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs/action/importantNotifies" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Process notification

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/billingLogs/action/processImportantNotify
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

billing_log_id
integer
required

Billing log ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//billingLogs/action/processImportantNotify?billing_log_id=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Member auth APIs

Get member self info

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/memberSelf
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//memberSelf" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "member": {
            "member_id": 57843940635,
            "member_icafe_id": 7777,
            "member_account": "test13",
            "member_balance": "138.00",
            "member_first_name": "asd",
            "member_last_name": "as",
            "member_birthday": "1990-10-10",
            "member_expire_time_local": "2028-01-01",
            "member_is_active": 1,
            "member_photo": "",
            "member_email": "",
            "member_telegram_username": "",
            "member_telegram_username_valid": 0,
            "member_phone": "",
            "member_id_card": "",
            "member_points": "137.00",
            "member_create": "2023-01-12T08:57:48.000000Z",
            "member_update": "2025-03-09T09:59:48.000000Z",
            "member_group_id": 143598,
            "member_balance_bonus": "94.00",
            "member_coin_balance": "-1.00",
            "member_sex": 0,
            "member_comments": "abcabc",
            "member_address": "",
            "member_company_id": 0,
            "member_loan": "0.00",
            "member_recent_played": null,
            "member_id_icafe_id": 578439406357777,
            "member_oauth_user_id": "0",
            "member_oauth_platform": "account",
            "member_balance_with_loan": "138.00",
            "member_group_name": "ab4"
        },
        "member_groups": [
            {
                "member_group_id": 143567,
                "member_group_name": "VIP7776"
            }
        ],
        "orders": [],
        "total_amount": 0,
        "currency": "$"
    }
}

Member PC status

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/memberPcStatus
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//memberPcStatus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Member start self session

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/memberStartSession
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//memberStartSession" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_name="

Member get self payment info

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/memberPaymentInfo
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//memberPaymentInfo" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pcs="

Member self checkout

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/memberCheckout
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//memberCheckout" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "pc_name="\
    --form "pc_group_id="\
    --form "pc_cost="\
    --form "pc_data_time="\
    --form "pc_data_sign="

Get member orders

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/memberOrders
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

search_text
string

Search Text.

page
integer

Page number.

sort_name
string

Sort field.

Example:
order_create_time
sort
string

Sort order, supports desc, asc.

Example:
desc
Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//memberOrders?sort_name=order_create_time&sort=desc" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
{
    "code": 200,
    "message": "success",
    "data": {
        "orders": [
            {
                "order_no": 550,
                "order_pc": "",
                "order_create_time": "2025-03-13 01:27:21",
                "order_money": "110.00",
                "order_status": 3,
                "order_payment_method": 20,
                "order_product_id": 0,
                "product_name": "Unknown"
            }
        ],
        "paging_info": {
            "total_records": 28,
            "pages": 3,
            "page": 1,
            "page_prev": 1,
            "page_next": 2,
            "page_start": 1,
            "page_end": 3,
            "start_from": 0,
            "end_from": 10
        }
    }
}

Add guest account

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/memberAddGuest
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//memberAddGuest" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"

Get topup url

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/getTopupUrl
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//getTopupUrl" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "member_account="\
    --form "topup_amount="

Sub-cafes APIs

Get sub-cafes lists

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/subcafes
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//subcafes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}

Add sub-cafes

POST
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/subcafes
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Body Parameters

Example request:
curl --request POST \
    "https://api.icafecloud.com/api/v2/cafe//subcafes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "license_name="\
    --form "license_password="

Delete sub-cafes

DELETE
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/subcafes/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

id
string
required

The ID of the subcafe.

Example:
culpa
licenseName
string
required

License name.

Body Parameters

Example request:
curl --request DELETE \
    "https://api.icafecloud.com/api/v2/cafe//subcafes/culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "license_password="

config APIs

Google drive Bind

GET
https://api.icafecloud.com
/api/v2/cafe/{cafeId}/googleDriveBind
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

cafeId
integer
required

Cafe ID.

Query Parameters

action
string

action (bind, unbind).

Body Parameters

Example request:
curl --request GET \
    --get "https://api.icafecloud.com/api/v2/cafe//googleDriveBind" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "action=culpa"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "code": 404,
    "message": "Url not match"
}