Skip to main content

Get Referral User Invitations

Query invitation records for the authenticated referral user.

info
  • Authentication is required. The caller is identified from the API key; do not provide the caller's user ID in the request body.
  • An empty userIdList does not filter by invitee ID.
  • Time values use YYYY-MM-DD HH:mm:ss. Invalid or empty values are passed downstream as 0; do not infer the final search window from this endpoint layer alone.
  • Request and response property names use the proto's explicit camelCase JSON names. Invitation records use this endpoint's dedicated payload; final gateway serialization, HTTP error behavior, and integer/enum representation remain unverified.

HTTP Request​

POST/v5/referral/user/invitations

Request Parameters​

ParameterRequiredTypeComments
userIdListfalsearrayInvitee ID list. An empty list does not apply an invitee-ID filter.
> userIdfalseintegerInvitee ID
startTimefalsestringQuery start time in YYYY-MM-DD HH:mm:ss format. Invalid or empty values are passed downstream as 0.
endTimefalsestringQuery end time in YYYY-MM-DD HH:mm:ss format. Invalid or empty values are passed downstream as 0.
pagefalseintegerPage number. 0 is treated as 1.
pageSizefalseintegerNumber of records per page. 0 or a value greater than 200 is treated as 10.
friendStatusfalseintegerInvitee status. See friendStatus.

Response Parameters​

ParameterTypeComments
recordsarrayInvitation records
> userIdMaskstringMasked invitee ID
> signTimeintegerInvitee registration timestamp
> userStatusintegerInvitee status. See friendStatus.
> totalCommissionstringTotal commission amount, formatted to at most eight decimal places. Invalid source values cause an error.
> userIdstringThe invitee's unencrypted decimal user ID. userIdMask is supplied separately; confirm that exposing this value is intended.
> taskProgressstringTask completion progress
> notShowCommissionbooleantrue for some new EU-site invitees and non-Boost JPN-site invitees; the Boost path leaves the default false.
> totalBaseRewardsstringNot populated by the current endpoint; remains the default empty string. Whether it appears in gateway JSON is unverified.
totalintegerTotal number of records

Request Example​

POST /v5/referral/user/invitations HTTP/1.1
Host: api.bybit.com
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1753286400000
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: XXXXX
Content-Type: application/json

{
"userIdList": [],
"startTime": "2026-01-01 00:00:00",
"endTime": "2026-01-31 23:59:59",
"page": 1,
"pageSize": 10,
"friendStatus": 0
}

Response Example​

The following illustrates the field structure only; it is not a default ProtoJSON serialization or a gateway-validated response.

{
"retCode": 0,
"retMsg": "",
"result": {
"records": [],
"total": 0
}
}