People
Read who an API key acts as, and list the members, teams and tags of your agency through the Fondaro API.
These routes tell you who a key acts as and give you the ids you need to assign leads, tasks and deals, and to tag leads. GET /v1/me needs no scope. The other three need crm:read and are open to every member as well as admins. None of them needs an active plan.
Each list is returned whole, as { "data": [...], "hasMore": false }.
Check who a key acts as
GET /v1/me
Returns the person, agency, role and key behind the credential. Any valid key with an owner can call it.
role is admin or member. entitled is false when the agency has no active plan: CRM writes and every documents route answer 403 with SUBSCRIPTION_REQUIRED; reads and brochures still work.
List members
GET /v1/members
The people in your agency, up to 100, so you can choose owners for a lead, task or deal. Their ids are the userId values.
List teams
GET /v1/teams
The agency's teams with their member ids. Archived teams are not listed. Pass a team id as teamIds on the owner fields of leads, tasks and deals to give something to the whole team.
List tags
GET /v1/tags
The agency's tags with how many leads carry each. Use the ids with Set the tags on a lead.