ETBX Developer Docs

Navigate the documentation

Users API

Create and manage end users. Each user gets an automatically provisioned wallet on Base.

Endpoints

EndpointMethodDescription
/api/v1/partners/usersGETList users
/api/v1/partners/usersPOSTCreate user

Create User

Create a new user and provision a wallet:

HTTPPOST
curl -X POST https://api.etbx.com/api/v1/partners/users \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"externalId": "user_001", "email": "user@example.com"}'

Request Fields

FieldTypeRequired
externalIdstringYes
emailstringYes
namestringNo
phonestringNo
Responsejson
{
  "id": "waas_xxx_user_001",
  "externalId": "user_001",
  "email": "user@example.com",
  "walletAddress": "0x742d..."
}

List Users

Get all users:

HTTPGET
curl -X GET https://api.etbx.com/api/v1/partners/users -H "Authorization: Bearer YOUR_API_KEY"

Idempotency

Creating a user with the same externalId returns the existing user. The API is idempotent.

Next Steps