Your Account(s)
Now that you’ve logged in you can see what account(s) you belong to and which one is your primary account. You may only have a single account and this will also be your primary account.
Accounts are the central operating concept in PulseAPI. Every operation against an entity will be tied to a specific account. Accounts and Users have a many-to-many relationship.
- Accounts can have many Users
- Users can belong to many accounts
Although, it’s more common for a single account to have many users than a single user to belong to many accounts, just know that this relationship is possible and allows for endless flexibility… think single user login with access to multiple agents or merchant accounts.
Of course, you could see all the accounts you belong to inside your session details, but lets explore some of the account based API’s.
List all of your accounts
GET /accounts
Output:
Account Response Object Reference
Get an account by ID
Alternatively, if you want to just get a single account you can use the following endpoint:
GET /accounts/{id}
Output:
Super Admin Section
Only Super Admins can create and manage accounts. This functionality is not granted to regular users or account admins. Contact your super admin to create new accounts.
Get quick simple list of all accounts
Output:
Create a new account
Output:
Delete an existing account
Output: