swap.quickswap.v1.QuickSwapBrokerService
ListMyBrokers
ListMyBrokers lists the brokers the caller is a member of and the invites addressed to the caller. Session token only.
Method
POST
Path
swap.quickswap.v1.QuickSwapBrokerService/ListMyBrokers
Service
swap.quickswap.v1.QuickSwapBrokerService
Visibility
Authentication
Session token
MFA Requirement
Not required
POST
swap.quickswap.v1.QuickSwapBrokerService/ListMyBrokers Request
Testnet
curl --request POST \ \
--url 'https://api.testnet.polyester.com/swap.quickswap.v1.QuickSwapBrokerService/ListMyBrokers' \
--header 'Content-Type: application/json' \
--header 'Connect-Protocol-Version: 1' \
--data '{}'Responses
{
"invites": [
{
"accountId": "7563897446546",
"broker": "value",
"brokerDisplayName": "value",
"createdAt": "2025-01-01T00:00:00Z",
"inviteId": "1",
"invitedByAccountId": "7563897446546",
"role": "OWNER"
}
],
"memberships": [
{
"broker": "value",
"brokerDisplayName": "value",
"role": "OWNER"
}
]
}Request
swap.quickswap.v1.ListMyBrokersRequestResponse
swap.quickswap.v1.ListMyBrokersResponse 3 fields
broker string
Broker name.
brokerDisplayName string
Broker display name.
role enum
The caller's role.
OWNER ADMIN FINANCE AFFILIATE_MANAGER VIEWER
7 fields
inviteId string (fixed64)
Public invite ID.
broker string
Broker name.
brokerDisplayName string
Broker display name.
accountId string (fixed64)
Public account ID of the invited person.
role enum
Role the person gets on accepting.
OWNER ADMIN FINANCE AFFILIATE_MANAGER VIEWER
invitedByAccountId string (fixed64)
Public account ID of the member who invited them.
createdAt string (date-time)
When the invite was sent.
| Key | HTTP status | Connect code | Error | When |
|---|---|---|---|---|
| unauthenticated | 401 | unauthenticated | Unauthenticated | Authentication required. |
| permission-denied | 403 | permission_denied | Permission Denied | Permission denied. |
| invalid-argument | 400 | invalid_argument | Invalid Argument | Invalid argument. |
| not-found | 404 | not_found | Not Found | Not found. |
| unavailable | 503 | unavailable | Unavailable | Service unavailable. |