Skip to main content

Your own system

Send sales, forms and bookings from any system you control.

About 20 minutesYou need: an API key and a server
  1. Make a test key in Settings, then API and MCP, with sales:write and events:write.
  2. Send one sale:

    Terminal
    curl -X POST "https://api.usetotems.com/v1/sales" \
      -H "Authorization: Bearer $TOTEMS_KEY" \
      -H "Idempotency-Key: order-1001" \
      -H "Content-Type: application/json" \
      -d '{"external_id":"order-1001","amount_cents":200000,"currency":"USD","email":"alex@example.com"}'
  3. Check that it shows up as a test.
  4. Switch to a live key.

Prefer a webhook?

Open Integrations, then Other tool. Choose a secret of 16 letters or more, and send signed events to the address we show.

Use your own order id as external_id. Sending the same one again doesn't make a second sale. See Sales calls.

Was this useful?

Your answer stays in this browser.