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

auth

Developing
POST
{{local_warcast}}/auth/token

Request

Body Params application/json

Example
{
    "clientId":"continuouswar",
    "clientSecret":"changeme"
}

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/auth/token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "clientId":"continuouswar",
    "clientSecret":"changeme"
}'

Responses

🟢201Created
application/json
Body

Example
{
    "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJjb250aW51b3Vzd2FyIiwic2NvcGUiOlsibmZ0OnJlYWQiLCJuZnQ6d3JpdGUiXSwiaWF0IjoxNzYwNjc5MzA3LCJleHAiOjE3NjA2ODI5MDcsImlzcyI6IndhcmNhc3QtYnJpZGdlIn0.5D_6t6cUDWJel6V6U7mj3uO3uDzCzs0JtrESGqqI30A",
    "tokenType": "Bearer",
    "expiresIn": 3600
}
Modified at 2025-10-16 12:11:45
Previous
openloot_feed_log
Next
heroes_list
Built with