API Reference

Account Users

  • An Account User represent a User associated with an Account.
  • A User represent a physical person.
  • A User can have many Emails and Phones.

The Account User Object

roleshashRoles hash (boolean values). Valid keys are :admin, :billing, :broadcaster, :communicator
notification_rule_idstringThe ID of the notification rule this account user is currently using.
user.idstringThe ID of the user.
user.prefix_idstringPrefix ID of user.
user.namestring[]The user's full name.
user.time_zonestring[]The user's time zone.
user.emails[].idstringThe ID of the email object.
user.emails[].emailstringThe email address.
user.emails[].primarystring[]Boolean indicating if this is the user's primary email address.
user.phones[].idstringID of phone object.
user.phones[].prefix_idstringPrefix ID of phone object.
user.phones[].phonestringE.164 format phone number.
user.phones[].primarybooleanBoolean indicating if this is the user's primary phone number.
user.phones[].countrystringISO 3166 alpha-2 country code of the number (determined by PagerTree).
user.phones[].blockedbooleanBoolean indicating whether this phone has been blocked.

Create a Account User

POST https://api.pagertree.com/api/v4/account_users

Allowed Parameters

def account_user_params
    roles: {},
    member_team_ids: [],
    user_attributes: [
      emails_attributes: [
      phones_attributes: [

Required Parameters

  • user_attributes
    • name
    • emails_attributes
      • email

Note: A default secure password will be created by PagerTree and assigned to the user (not applicable if using SSO on the account). The user will receive an email containing their username and password. If a user already exists in PagerTree they will receive an invite email where they can approve or deny joining your account. When the user logs in to PagerTree for the first time they will be guided through a setup process to confirm their phone number.

Example Request

POST https://api.pagertree.com/api/v4/account_users
  "user_attributes": {
    "name": "Bobby Hill",
    "emails_attributes": [
        "email": "bobby.hill@example.com"

Retrieve a Account User

GET https://api.pagertree.com/api/v4/account_users/:id

Update a Account User

PUT https://api.pagertree.com/api/v4/account_users/:id

Delete a Account User

DELETE https://api.pagertree.com/api/v4/account_users/:id

List all Account Users

GET https://api.pagertree.com/api/v4/account_users
Common Model Attributes