List all users
curl --request GET \
--url https://b2b-api-sandbox.easyonramp.com/api/v1/users \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://b2b-api-sandbox.easyonramp.com/api/v1/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://b2b-api-sandbox.easyonramp.com/api/v1/users"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://b2b-api-sandbox.easyonramp.com/api/v1/users"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": [
{
"userId": "<string>",
"email": "<string>",
"name": "<string>",
"firstName": "Jane",
"lastName": "Doe",
"phone": {
"dialCode": "+27",
"phoneNumber": "821234567"
},
"kycStatus": "<string>",
"subAccount": {
"id": "507f1f77bcf86cd799439012",
"name": "Default"
},
"verificationUrl": "<string>",
"twoFactorEnabled": true,
"emailVerified": true,
"phoneVerified": true
}
],
"pagination": {
"pages": 5,
"current_page": 2,
"next_page": 3,
"previous_page": 1
}
}Users
List all users
Returns all end users for your business, paginated. Search with q (email, name, user id). Filter with kycStatus or subAccountId. Sort with sort (name, email, kycStatus, createdAt; prefix - for descending). Select fields with fields (e.g. userId,email,kycStatus,subAccount).
GET
/
api
/
v1
/
users
List all users
curl --request GET \
--url https://b2b-api-sandbox.easyonramp.com/api/v1/users \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://b2b-api-sandbox.easyonramp.com/api/v1/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://b2b-api-sandbox.easyonramp.com/api/v1/users"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://b2b-api-sandbox.easyonramp.com/api/v1/users"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": [
{
"userId": "<string>",
"email": "<string>",
"name": "<string>",
"firstName": "Jane",
"lastName": "Doe",
"phone": {
"dialCode": "+27",
"phoneNumber": "821234567"
},
"kycStatus": "<string>",
"subAccount": {
"id": "507f1f77bcf86cd799439012",
"name": "Default"
},
"verificationUrl": "<string>",
"twoFactorEnabled": true,
"emailVerified": true,
"phoneVerified": true
}
],
"pagination": {
"pages": 5,
"current_page": 2,
"next_page": 3,
"previous_page": 1
}
}Authorizations
Bearer JWT issued to your business account during onboarding
Query Parameters
Page number (1-based, default 1)
Example:
"1"
Page size (default 50, max 100)
Example:
"50"
Sort by name, email, kycStatus, or createdAt. Prefix - for descending.
Example:
"-createdAt"
Comma-separated fields: userId, email, name, phone, kycStatus, subAccount
Example:
"userId,email,kycStatus"
Keyword search across email, name, or exact userId (ObjectId)
Example:
"jane@example.com"
Limit results to one sub-account
Example:
"507f1f77bcf86cd799439012"
Filter by KYC status
Available options:
new, pending, approved, rejected, declined Example:
"approved"