Returning.AIDocs
v1

Developer docs · API v1

Bring the traders. We'll bring them back.

Connect trader sign-ups, trading activity and your client portal. We calculate the rewards and run the program with you.

Event logExample
  1. 09:41:02 POST /v1/users 200 USER_CREATED
  2. 09:41:03 POST /v1/users/update 200 USER_UPDATED
  3. 09:41:07 activity batch accepted batch_id 2026-09-26-009
  4. 09:41:08 coins, XP and tiers calculated
  5. 09:41:30 store purchase by trader 3247779
  6. 09:41:30 purchase webhook sent to your URL
  7. 09:42:10 PUT /v1/redemption-transactions/status 200 REDEMPTION_TRANSACTION_STATUS_UPDATED

Each kind of data takes its own route.

How it works

Your platform

Returning.AI

coins · tiers · rewards

Back to you

Widgets in your client portal

Widget SDK for web, mobile SDKs

Your server requests a short-lived embed token.

Data back to your systems

webhooks, integrations or the API

For example: sign-ups by webhook, trades we read from your trading platform, balances back through the API.

Your systems identify traders, send activity and place the widgets. We calculate coins, tiers and rewards, and send the results back.

From kickoff to live

  1. Together

    Kickoff: we map your data with your team.

  2. Us

    Setup: we set up your community and API keys.

  3. You

    Build: your team connects data and places the widgets.

  4. Together

    Launch checklist: we test it together.

  5. Together

    Live.

What a call looks like

POSTCreate User
curl --request POST \
  --url https://api.returning.ai/v1/users \
  --header 'Authorization: Bearer <API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
    "firstname": "Sample",
    "lastname": "Trader",
    "username": "sample_trader",
    "displayname": "Sample Trader",
    "email": "trader@example.com",
    "accessLevel": 1,
    "joinServer": true,
    "sendEmail": false,
    "emailPassword": false,
    "externalId": "<brokerCustomerId>"
  }'
Response
{
  "status": "success",
  "code": "USER_CREATED",
  "message": "User created successfully",
  "data": {
    "userId": "3247779",
    "username": "sample_trader",
    "email": "trader@example.com",
    "communityMemberId": "66f000000000000000000001",
    "identifierKey": "customerid",
    "externalId": "<brokerCustomerId>",
    "created": true
  }
}

Browse the docs

The fine print

Stuck? Your success manager is one message away.