Easymailing
Users and teams

List the users of the account

GET /account_members

GET/account_members

Lists the people who sign in to the account, active and deactivated, by name, with the uuid that every other operation uses for a person.

When to use: To find the uuid of a person by name or email before writing it in a workflow (create_workflow, update_workflow): the approver {"type": "user", "uuid": …} of human-review and ai-agent, the recipients {"user": …} and the fallbackRecipient of internal-notification-send, a person in the field rows of record-update, record-find-or-create and task-create (the owner or the assignee, or {"kind": "user", "id": …} in a round robin rotation), and the user values of filters (contact.owner and company.owner in list_contact_filter_fields and list_company_filter_fields, ownerId in list_opportunity_filter_fields, assignee, author and contact.owner in list_workflow_record_filter_fields). It is the same uuid as owner.uuid of contacts, companies and opportunities, assignee.uuid of tasks and the responsible of a workflow, so it also names who those are. With account.users.read or account.teams.read, team lists the people of one team of list_account_teams; with only automations.work, who is in each team is not shown, as in Customer App (teams is null and team a 403).

When not to use: These are not the members of an audience (subscribers): for those use list_audience_members. To assign a task, the people who can receive one are list_task_assignees (a CRM seat and access to tasks). A workflow only takes an active person where it picks one: an inactive one is listed to name what still points to them, and choosing them is a resource_unavailable issue.

Filters: All matching users come in one response, by name; there is no pagination.

  • search: users whose name or email contains the text, ignoring case.
  • status: only active or only inactive users.
  • team: only the users of that team (uuid of list_account_teams). Needs account.users.read or account.teams.read.

Permissions: Requires any of the account.users.read or automations.work capabilities.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Query Parameters

search?string

Text to look for in the name or the email, ignoring case.

status?string

Only the users with this status.

Value in

  • "active"
  • "inactive"
team?string

uuid of a team of list_account_teams: only its users. Needs account.users.read or account.teams.read.

Formatuuid

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/account_members?search=laura&status=active&team=5d2c8a41-7b3e-4f69-9a10-2e8c4b6d7f31" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "name": "string",    "email": "user@example.com",    "status": "active",    "teams": [      "6c34d4a2-82d7-47eb-ae09-5fb7d414df64"    ],    "current": true  }]