List all users

This version of the API docs is depreciated and will be taken offline soon.
Please migrate to the new version as soon as possible to avoid service disruption.

New version can be found at https://docs.wceaapi.org/

Returns all users of the authenticated organization.

Request

  • HTTP Verb: GET
  • URI: /user

Searchable Fields

email Example:

(email[lk]:test.org, name[eq]:Bob,
region[eq]:Illinois)

Find all users whose:

  • email contains test.org
  • Have the name Bob
  • And are from Illinois
name
surname
company
country
region
city
See Advanced queries for details on how to use Searchable Fields.

Request example

$users = $API->getUser();

Output Example

array(
  [0] => array(
     "id" => 1,
     "email" => "adrian.perez@wcea.education",
     "name" => "Adrián",
     "surname" => "Pérez",
     "title" => "Mr",
     "suffix" => "PhD",
     "country" => "Spain",
     "region" => "Andalucía",
     "city" => "Marbella",
     "company" => "WCEA"
  ),
  [1] => array(
     "id" => 2,
     "email" => "tony.montana@wcea.education",
     "name" => "Tony",
     "surname" => "Montana",
     "title" => "Dr",
     "suffix" => "Scarface",
     "country" => "United states of america",
     "region" => "Illinois",
     "city" => "Altona",
     "company" => null
  )
  ...
)