List Accounts
Gets a paginated list of accounts for a specific exchange integration.
- HTTP request
- GET/exchanges/{exchangeId}/accounts
- Authentication
-
Authentication Type Supported Organization User (CustomerEmployee) Yes Delegated User (EndUser) No Service Account No - Required permissions
- Exchanges:Read (always required)
- Authorization requirements
-
Header Type Required Description Authorizationstring Yes Bearer token used to authenticate the request. See Authentication flows for instructions on generating this token. - Path parameters
- a
Parameter Type Required Description exchangeId string Yes Unique identifier of the exchange integration. Minimum length is 1 character. - Query parameters
-
Parameter Type Default Description limit integer 50 Maximum number of items to return. Must be between 1 and 500. paginationToken string None Opaque token used to retrieve the next page of results. Returned as nextPageTokenin the previous response. Minimum length is 1. - Request body
-
curl --request GET \ --url 'https://api.digitalassets.ibm.com/exchanges/{exchangeId}/accounts?limit=50' \ --header 'Authorization: Bearer <token>' - Response
- 200: Success
Example response:
{{ "items": [ { "id": "<string>", "exchangeId": "<string>", "name": "<string>", "exchangeName": "<string>" } ], "nextPageToken": "<string>" }