ambrus-api
  1. warcast
ambrus-api
  • inner
    • create_merchant
      POST
    • get_token
      GET
    • get_merchant_info
      GET
    • save_file
      POST
    • savemerchantgame
      POST
    • query merchant game
      GET
    • gamelist
      GET
    • merchantStatus
      GET
    • game_detail
      GET
    • query_new_merchant
      GET
    • update_single_game
      POST
    • gameRank
      GET
    • /merchant/games/history/rank
      GET
    • /merchant/games/history/test
      POST
    • addWin
      POST
    • sign_code
      POST
    • get_sign
      GET
    • suiwallet_register
      POST
    • suiwallet/token
      GET
    • ludus_pay_query
      GET
    • ludus_reward
      POST
    • ludus/signature
      GET
  • outer
    • getNonce
    • login_zk
  • withoutkey
    • query social bind
    • merchant_login
    • save_params
    • querybysocialid
    • query_zk_info
    • query_zk_info Copy
  • sui
    • query_sui_events
    • submitgamescore
    • gameCode
    • rewrad_history
  • oracle
  • badmition
  • third_pay
    • app-verify-transaction
    • app_asdn-v2-callback
    • app_trigger-test-notification
    • google_callback
  • pay
    • user/project
    • rechargeOrder
    • user/project/level
    • user/deposit
    • getDepositaddress
    • user/orderComplete
    • game/pay/coins
    • game/tickets
    • minus_tickets
    • remainBalance
    • createOrder
    • customGoods
    • traceKey
    • customGoods_query
  • openloot
    • authorize2
    • clientToken
    • clientToken_serve
    • premium-currencies-balance
    • ambrus_openloot_login
    • getOpenlootUser
    • openloot/adopt_pet
    • openloot/pet_query
    • feed_pet
    • openloot/currencies_list
    • balances_item_balance
    • authorize2-chengdu
    • clientToken_serve-chengdu
    • clientToken-chengdu
    • openloot/accept
    • userInfo
    • openloot/tokens
    • openloot_rank
    • openloot_feed_log
  • warcast
    • auth
      POST
    • heroes_list
      GET
    • bind
      POST
    • unbind
      POST
    • nft_detail
      GET
    • upgrade
      POST
  1. warcast

bind

Developing
POST
{{local_warcast}}/heroes/bind

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "userId":"84d5e976-d466-4c0a-af6b-9b7d7fae3819",
    "itemId":"199ec202-f400-4000-8f20-811c96269c80", 
    "serverId":"1", 
    "centerId":"1",
    "roleId":"1"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.ambrus.studio/warcast-test/heroes/bind' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "userId":"84d5e976-d466-4c0a-af6b-9b7d7fae3819",
    "itemId":"199ec202-f400-4000-8f20-811c96269c80", 
    "serverId":"1", 
    "centerId":"1",
    "roleId":"1"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "id": "1cae4ff3-a75d-4ae9-9b4b-fcc10078324a",
    "userId": "84d5e976-d466-4c0a-af6b-9b7d7fae3819",
    "itemId": "199ec202-f400-4000-8f20-811c96269c80",
    "serverId": "1",
    "centerId": "1",
    "roleId": "1",
    "isBound": true,
    "stars": 0,
    "createdAt": "2025-10-17T05:38:16.281Z",
    "updatedAt": "2025-10-17T05:57:59.813Z"
}
Modified at 2025-10-17 06:01:08
Previous
heroes_list
Next
unbind
Built with