Chat

Share Coordinates

Send a coordinate share message to another player.

Sends a clickable coordinate location to the target player via private chat. The recipient will see the coordinates as a shareable map location they can click to view on their map.

Capitol Building: Default coordinates (499, 497) are the capitol building, which is at the same location on every server.

Use Cases:

  • Share your alliance's rally point
  • Share enemy base locations
  • Share resource tile locations

Requirements:

  • Your UID: Find this in your in-game profile settings
  • Target UID: The 16-digit UID of the player you want to message

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

Example:

{
    "target_uid": "1109037525001351",
    "server_id": 1364,
    "x": 499,
    "y": 497,
    "msg": "Rally here!"
}
post/chat/share-coordinates

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
  • 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)

owner_namestring required

EXACT name of owner at coordinates (from world.get.block)

levelinteger

Object level (e.g., 7)

oname_keystring

Localization key (e.g., 'season_s3_cityname_lv7')

onameinteger

Localization string ID (e.g., 311026)

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.