Users


Overview

URL https://api.xero.com/api.xro/2.0/Users
Methods Supported GET
Description Returns the users for a Xero organisation

GET Users

Optional parameters for GET Users

UserID The Xero identifier for an user – specified as a string following the endpoint name
e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9
Modified After The ModifiedAfter filter is actually an HTTP header: ‘If-Modified-Since‘.
A UTC timestamp (yyyy-mm-ddThh:mm:ss) . Only contacts created or modified since this timestamp will be returned e.g. 2009-11-12T00:00:00
where Filter by any element (see Filters)
order Order by any element returned (see Order By)

Response elements returned for GET Users

UserID Xero identifier
EmailAddress Email address of user
FirstName First name of user
LastName Last name of user
UpdatedDateUTC Timestamp of last change to user
IsSubscriber Boolean to indicate if user is the subscriber
OrganisationRole User role (see Types)

Example response for GET Users

<Users>
    <User>
      <UserID>7cf47fe2-c3dd-4c6b-9895-7ba767ba529c</UserID>
      <EmailAddress>john.smith@mail.com</EmailAddress>
      <FirstName>John</FirstName>
      <LastName>Smith</LastName>
      <UpdatedDateUTC>2010-03-03T22:23:26.94</UpdatedDateUTC>
      <IsSubscriber>true</IsSubscriber>
      <OrganisationRole>ADMIN</OrganisationRole>
    </User>
    
    ....
</Users>