Skip to content

New User Registration

1. Retrieve Metadata to populate options

Retrieve available groups and metadata

2. Create new user

Create the new User in the Directory with the API

POST - /1211/directory/public/users

{
  "firstName": "John",
  "lastName": "Dough",
  "displayName": null,
  "preferredWrittenLanguage": null,
  "preferredSpokenLanguage": null,
  "locale": null,
  "timezone": "America/Boise",
  "externalId": "KON1002",
  "emails": [
    {
      "type": "Work",
      "primary": true,
      "value": "test-deterministic-user@nagdom.com"
    }
  ],
  "phones": [
    {
      "type": "Work",
      "value": "+12081112222",
      "primary": true,
      "mobilePhone": false,
      "verificationId": null,
      "channels": null
    }
  ],
  "locations": [
    {
      "type": "Work",
      "name": "Office",
      "streetAddress": "500 E Shore Drive #240",
      "locality": "Eagle",
      "region": "ID",
      "postalCode": "83616",
      "country": "US",
      "latitude": null,
      "longitude": null
    }
  ],
  "memberships": []
}
{
  "tenantId": "1211",
  "directories": [
    "public"
  ],
  "id": "1563384",
  "externalId": "KON1002",
  "displayName": "John Dough",
  "name": {
    "formatted": "John Dough",
    "familyName": "Dough",
    "givenName": "John",
    "middleName": null,
    "honorificPrefix": null,
    "honorificSuffix": null
  },
  "contactInformation": {
    "emails": {
      "items": [],
      "totalCount": 0
    },
    "phones": {
      "items": [],
      "totalCount": 0
    },
    "mobileApps": null
  },
  "notificationPreferences": {
    "locations": {
      "items": [],
      "totalCount": 0
    },
    "memberships": {
      "items": [],
      "totalCount": 0,
      "count": 0,
      "isReadOnly": false
    },
    "preferredWrittenLanguage": null,
    "preferredSpokenLanguage": null,
    "locale": "America/Boise",
    "timezone": null
  },
  "organizationInformation": null,
  "customInformation": null,
  "authorization": null,
  "legacyAuthorization": null
}