Skip to main content
POST
Link a Steam account

Authorizations

X-Publishable-Key
string
header
required

The publishable key (mana_pk_...). It sends web and app events and links Steam accounts.

Body

application/json

Fields that are not in this list are ignored.

provider
string
required

The store. Only steam today.

Allowed value: "steam"
ticket
string
required

The bytes of the Steam ticket from GetAuthTicketForWebApi("manalens"), as a hex string: 32 to 4096 hex characters, an even number

Pattern: ^(?:[0-9a-fA-F]{2}){16,2048}$
anonymous_id
string
required

The SDK anonymous ID of this game install (a UUID)

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
user_id
string

Secret key only (a game server): the user ID to store with the link. With the publishable key it is checked but not stored. A stored user ID is never replaced.

Required string length: 1 - 255
Pattern: ^[^\u0000-\u001f]+$

Response

Steam accepted the ticket and the link is saved

linked
boolean
required
provider
string
required
Allowed value: "steam"