User & permissions
Get all accounts of the current tenant.
API documentation
User
Tenant
Feature
Entitlement
User & permissions
Settings
- Settings
- Media
- Webhook
- Notification
Payment
- Payment Method
- Transaction
- SEPA XML
- Open Banking
- Bank Account Transaction
Customer
- Customer
- Customer Address
- Customer Email
- Customer Settings
- Customer Otp
Billing
- Invoice
- Invoice Position Item
- Billing Run
Dunning
- Dunning Document
- Dunning Rule
Subscription
- Subscription
- Subscription Item
- Subscription Measurement
- Billing Group
Offers
- Offer
- Offer Recipient
- Offer Template
Catalogue
- Unit
- Measurement
- Product
- Product Family
- Price Plan
- Coupon
Checkout
- Checkout Link
- Cart
Accounting
User & permissions
Get all accounts of the current tenant.
Retrieves the collection of Account resources.
GET
/
tenant
/
accounts
Copy
curl -X GET \
/tenant/accounts \
--header "Authorization: Bearer <token>"
Copy
{
"data": [
{
"id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ",
"user": {
"id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ",
"firstName": "John",
"lastName": "Doe",
"email": "jsmith@example.com"
},
"role": "administrator",
"createdAt": "2023-11-07T05:31:56Z",
"deactivated": true
}
],
"meta": {
"pagination": {
"totalItems": 123,
"itemsPerPage": 123,
"currentPage": 123,
"lastPage": 123,
"pageTotalItems": 123
}
}
}
Authorizations
Value for the Authorization header parameter.
Query Parameters
The collection page number
The number of items per page
Required range:
0 <= x <= 100
Response
200
application/json
Account collection
Example:
"01F9Z3ZJXZQZJZJZJZJZJZJZJZ"
Available options:
administrator
, account
, read-only
Example:
"administrator"
Was this page helpful?
Copy
curl -X GET \
/tenant/accounts \
--header "Authorization: Bearer <token>"
Copy
{
"data": [
{
"id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ",
"user": {
"id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ",
"firstName": "John",
"lastName": "Doe",
"email": "jsmith@example.com"
},
"role": "administrator",
"createdAt": "2023-11-07T05:31:56Z",
"deactivated": true
}
],
"meta": {
"pagination": {
"totalItems": 123,
"itemsPerPage": 123,
"currentPage": 123,
"lastPage": 123,
"pageTotalItems": 123
}
}
}