Chat

Share Coordinates Auto

Send a coordinate share with automatic owner lookup.

This is the recommended endpoint for sharing coordinates. It automatically:

  1. Queries the world map to find who owns the location at (x, y)
  2. Extracts the owner name and HQ level
  3. Sends the coordinate share with the correct attachment data

Capitol Building: Default coordinates (499, 497) are the capitol building.

If session_key is provided, uses that session's credentials directly.

Example:

{
    "target_uid": "1109037525001351",
    "server_id": 1364,
    "x": 499,
    "y": 497
}
post/chat/share-coordinates-auto

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/chat/share-coordinates-auto
  • Auth: API key in header X-API-Key

Query parameters

server_hoststring

Game server IP

session_keystring

Session key to use specific credentials

Request body

target_uidstring required

Target player's UID (16-digit string)

server_idinteger required

Server ID where coordinates are located

xinteger

X coordinate

yinteger

Y coordinate

msgstring

Message text (optional)

Response

Successful Response

successboolean required

Whether the message was sent

target_uidstring required

Target player UID

server_idinteger required

Server ID of shared coordinates

xinteger required

X coordinate shared

yinteger required

Y coordinate shared

messagestring required

Status message

owner_namestring nullable

Owner name at coordinates (from lookup)

hq_levelinteger nullable

HQ level at coordinates (from lookup)

Changes

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