Get accounts
MyMorabaa endpoints
Get accounts
Retrieve accounts with optional business filtering, search, and pagination.
GET
Get accounts
Endpoint
GET /accounts
Production URL:
https://sam.aragon.morabaa.com/api/accounts
Authentication
This endpoint requires app authentication headers:X-App-Id: <APP_ID>X-App-Secret: <APP_SECRET>
Required headers
App ID credential.
App secret credential.
Need credentials? Contact info@morabaa.com.
401 Unauthorized.
Do not send Content-Type: application/json for this GET request. Only include a Content-Type header when the request has a JSON body.
Request example
Query parameters
All query parameters are optional.General text search.
Filter by business ID. If omitted, the first business ID from the authenticated app is used.
Page size. Defaults to
25, clamped to 1..100.Skip count. Defaults to
0 and never below 0.businessIdmust belong to the authenticated app if it is supplied.- A successful response returns
200 OK.
Response
The response type is an array of accounts:Account ID.
Business ID associated with the account.
Local account ID from MyMorabaa.
Account name.
Account phone number.
Account address.
Account balances grouped by state and currency.
Query Parameters
General text search.
Filter by business ID. If omitted, the first business ID from the authenticated app is used.
Page size. Defaults to 25, clamped to 1..100.
Required range:
1 <= x <= 100Skip count. Defaults to 0 and never below 0.
Required range:
x >= 0Response
Accounts returned successfully.
