SASA Manager
Help · Discord · 2 min read

API and webhooks

Connect your website, own bot or shop to your server.

Server → API & webhooks (VIP).

  1. Create a tokenName it and choose Read only or Read and write. Copy it right away, it is shown only once.
  2. Call the APISend Authorization: Bearer sam_… to samanager.dev/api/v1.php?route=players. All routes are in the API docs.
  3. Add a webhookEnter your https address and choose events: joins, leaves, kills, alerts. Use Send test to check it.
  4. Check the signatureCompare X-SAM-Signature with HMAC-SHA256 of the body and your webhook secret before you trust a request.
A shop can give queue priority automatically: after a payment call POST ?route=priority with the SteamID64 and the number of days.

Did not find the answer? Write to us, we reply in Support.

Ask in Support