Accounts
Creates an account and links users. Body
{ "account": "Acme", "users": ["a@acme.com"] }. The first user becomes owner; additional users become admin.Returns accounts:
{ "accounts": [{ "id", "name", "active" }] }.Deletes accounts by
account_id or account_ids.Users & membership
With no
account-id, returns the caller’s organizations and their role in each. With ?account-id={uuid}, returns that org’s members: { email, name, id, role }.Adds members. Body
{ "users": [{ "email": "b@acme.com", "role": "member" }] }. Default role is member. Owners may assign any role; admins may not assign owner.Changes roles. Body
{ "users": [{ "email": "b@acme.com", "role": "admin" }] }. Only an owner may set owner; the last owner can’t be demoted.Removes members. The last owner can’t be removed.
Adding a member or changing a role sends an email notification to the affected person.
Subscribers (alert recipients)
Lists subscribers for a vendor list, with per-list verification state.
Adds subscribers. Body
{ "subscriber-email": "alerts@acme.com" }. A verified org member is confirmed immediately; anyone else gets a confirmation email first.Removes a subscriber from the list.
