Auth

Upload Credentials With Apikey

Upload game credentials captured from the PC game client.

This endpoint is designed for use with the lastwar-capture tool, which captures the authentication packets from the PC version of Last War.

Usage with lastwar-capture tool

  1. Run the capture tool while launching the game
  2. The tool will capture three files: handshake.bin, auth.bin, login.bin
  3. Upload all three files to this endpoint

Required files

  • handshake.bin: Initial e405/e406 connection packet
  • auth.bin: Authentication response packet
  • login.bin: Login completion packet

All three files are required. The server will validate the credentials by connecting to the game server before storing them.

Returns: Status, validation result, and player info from the game server

post/auth/credentials/upload

Request

  • Base URL: https://api.lastwar.tools (the document declares no server; this is the origin it was published from)
  • URL: https://api.lastwar.tools/auth/credentials/upload
  • Auth: API key in header X-API-Key

Query parameters

server_ipstring

Game server IP from capture

server_portinteger

Game server port from capture

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.