https://api.unibee.dev/merchant/user/list
User List
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <your_api_key> |
Content-Type | Yes | application/json (for request body) |
| Name | Type | Required | Description |
|---|---|---|---|
userId | integer | No | Filter UserId |
externalUserId | string | No | ExternalUserId |
firstName | string | No | Search FirstName |
lastName | string | No | Search LastName |
email | string | No | Search Filter Email |
searchKey | string | No | Search FirstName|LastName|Email|Phone|Address|ExternalUserId |
planIds | array | No | PlanIds, Search Filter PlanIds |
gatewayIds | array | No | GatewayIds, Search Filter GatewayIds |
subscriptionId | string | No | Search Filter SubscriptionId |
subStatus | array | No | Filter, Default All,1-Pending|2-Active|3-Suspend | 4-Cancel | 5-Expire | 6- Suspend| 7-Incomplete | 8-Processing | 9-Failed |
status | array | No | Status, 0-Active|2-Frozen |
deleteInclude | boolean | No | Deleted Involved,Need Admin |
sortField | string | No | Sort,user_id|gmt_create|email|user_name|subscription_name|subscription_status|payment_method|recurring_amount|billing_type,Default gmt_create |
sortType | string | No | Sort Type,asc|desc,Default desc |
page | integer | No | Page,Start 0 |
count | integer | No | Count OF Page |
createTimeStart | integer | No | CreateTimeStart,UTC timestamp,seconds |
createTimeEnd | integer | No | CreateTimeEnd,UTC timestamp,seconds |
code, data, message, redirect, and requestId. code 0 indicates success.
| Field | Type | Description |
|---|---|---|
code | integer | Response code. 0 = success |
data | object | Response payload |
data.total | integer | Total |
data.userAccounts | array | User Account Object List |
message | string | Human-readable message |
requestId | string | Request ID for support |
| HTTP status | Meaning |
|---|---|
| 400 | Bad request — invalid or missing parameters. Check message in the body. |
| 401 | Unauthorized — missing or invalid API key. |
| 404 | Not found — invalid path or resource. |
| 500 | Server error — retry with backoff. |
code in the response body is non-zero, check message for details. Use requestId when contacting support.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Filter UserId
ExternalUserId
Search FirstName
Search LastName
Search Filter Email
Search FirstName|LastName|Email|Phone|Address|ExternalUserId
PlanIds, Search Filter PlanIds
GatewayIds, Search Filter GatewayIds
Search Filter SubscriptionId
Filter, Default All,1-Pending|2-Active|3-Suspend | 4-Cancel | 5-Expire | 6- Suspend| 7-Incomplete | 8-Processing | 9-Failed
Status, 0-Active|2-Frozen
Deleted Involved,Need Admin
Sort,user_id|gmt_create|email|user_name|subscription_name|subscription_status|payment_method|recurring_amount|billing_type,Default gmt_create
Sort Type,asc|desc,Default desc
Page,Start 0
Count OF Page
CreateTimeStart,UTC timestamp,seconds
CreateTimeEnd,UTC timestamp,seconds