Users
Status: Proposed
A “user” is a person or bot that could potentially interact with the platform. If they have not been granted access to any features they will not be able to do anything after logging in.
A person who is the customer of multiple businesses may have multiple separate user records within the platform so it is important to always include an organization filter when searching by email or name.
To learn more and view sample requests visit the user management guide
Possible values: [users]
usersThe id will be assigned by the server and must be included on all update requests. Values sent during creation will be ignored. It is globally unique across all platform instances and will not change.
You may use the special id me to operate on the current user if you have the scope openid.
U-3ca38c57-7677-45d4-81e8-cd29eab91d63attributes objectnullable
The user’s name formatted for display. This will always have a value.
Bill SmithGiven name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters.
Possible values: <= 50 characters
WilliamSurname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters.
Possible values: <= 50 characters
SmithThe name to use at the opening of messages addressed to the user. Note that in some cultures this is an alternate spelling or shortened form of the first name. Defaults to givenName.
Possible values: <= 50 characters
BillyThe primary email address for the user. This is required when creating a user.
Possible values: >= 5 characters
bill@example.comTrue if the End-User's e-mail address has been verified; otherwise false. When true affirmative steps to ensure that this e-mail address was controlled by the End-User at the time the verification was performed.
falseIndicates there is an email address available that can have messages sent to it using the notifications system.
The local language that content should be displayed to this user in.
Note: We currently have a limited set of allowed languages but expect to support many more in the future. When the requested language is not supported US English will be used.
It should be a single BCP47/RFC5646 language tag. This is an ISO 639-1 Alpha-2 language code in lowercase and an ISO 3166-1 Alpha-2 country code in uppercase, separated by a dash.
Examples:
en-USEnglish (US)fr-FRFrench (France)cs-CzCzech (Czech Republic)de-DEGerman (Germany)nl-BEDutch (Belgium)
Possible values: Value must match regular expression ^[a-z]{2}-[A-Z]{2}$
en-USphoneNumbers object[]
A list of phone numbers for the user.
Note: Do not send a phone number object or type if the user does not have a phone number.
The standard phone numbers for the location. Formatting characters may be included.
Extensions
It is recommended that extensions are included at the end of the number after an appropriate separator: Pause: , Wait: ; Default: ext.
You may test the parsibility of a number using https://phonenumbers.temba.io/
All partial phone numbers are assumed to be in the same country as this user's address.
+1-306-555-1234 ext. 56A classification of what the number should be used for.
The mobile number should be preferred when sending SMS messages to the user however they may also be sent to work or home numbers.
Possible values: [mobile, work, home, fax, pager]
address object
The primary address where this user can be reached.
The primary information. Typically a street address.
109 8th Street E.An additional line of information to add after the street address.
Suite 23Deprecated - This field has been renamed line1
109 8th Street E.Deprecated - This field has been renamed line2. An additional line of information to add after the street address.
Suite 23The city, town or locality component of an address.
SaskatoonThe zip code or postal code component of an address.
S7M 1R3The code for the top level subdivision within the country (state/province). For more info see the Addresses guide
Examples: CA-SK, US-FL, AG-08, AU-NSW
Possible values: >= 4 characters and <= 6 characters, Value must match regular expression ^[A-Z]{2}-[\w]{1,3}$
CA-SKThe two letter country code. For more info see the Addresses guide
Examples: CA, US, AU
Possible values: >= 2 characters and <= 2 characters, Value must match regular expression ^[A-Z]{2}$
CAA photo that can be used to represent this user. If the user does not have a custom image set a default image will be returned.
https://storage.googleapis.com/wordpress-www-vendasta/vw-wordpress/Brendan-King-1.jpgThe User's time zone in the IANA time zone database format.
Example: America/Los_Angeles
America/ReginaThe time at which the user was initially created in the platform.
The time at which the user’s profile was last updated. Note: Changes to permissions will not affect this field.
relationships object
partner object
A link to the organization that provides the platform to this user.
data objectrequired
Possible values: [partners]
partnersABCbusinessLocations object
The business locations that this user is a member of.
When a new location is added to a user they will be granted the default business user permissions.
Fine grained permissions currently must be managed in Partner Center's UI. We are gathering interest to determine how it should work by API so please send us your use cases.
data object[]
Possible values: [businessLocations]
businessLocationsbusinessLocationsThe ID of a previously created business location record.
AG-1234567platformAccess object
Proposed The platform access functionality is still at a proposed status. Not all options are currently available.
Use this field to grant access to platform level features to your employees and contractors.
data object[]
appFeaturesappFeaturesThe platform access functionality is still at a proposed status. Not all options are currently available.
Possible values: [pc:access, pc:canCustomizeWhitelabel, pc:canAccessBilling, pc:canManageSales, pc:canManageAccounts, pc:canManageTasks, pc:canAccessBrands, pc:canAccessMarketing, pc:canAccessDashboard, pc:canAccessOrders, pc:canManageAdmins, pc:canAccessMarketplace, pc:canEnableApps, pc:canAccessCompanyProfile, pc:canAccessAutomations, ssc:access, ssc:manage, tm:access, tm:manage]
{
"type": "users",
"id": "U-3ca38c57-7677-45d4-81e8-cd29eab91d63",
"attributes": {
"displayName": "Bill Smith",
"givenName": "William",
"familyName": "Smith",
"greetingName": "Billy",
"email": "bill@example.com",
"emailVerified": false,
"emailSet": true,
"languageLocaleCode": "en-US",
"phoneNumbersSet": true,
"phoneNumbers": [
{
"number": "+1-306-555-1234 ext. 56",
"typeCode": "mobile"
}
],
"address": {
"line1": "109 8th Street E.",
"line2": "Suite 23",
"city": "Saskatoon",
"postalCode": "S7M 1R3",
"regionCode": "CA-SK",
"countryCode": "CA"
},
"profileImage": "https://storage.googleapis.com/wordpress-www-vendasta/vw-wordpress/Brendan-King-1.jpg",
"timeZone": "America/Regina",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
},
"relationships": {
"partner": {
"data": {
"type": "partners",
"id": "ABC"
}
},
"businessLocations": {
"data": [
{
"type": "businessLocations",
"id": "AG-1234567"
}
]
},
"platformAccess": {
"data": [
{
"type": "appFeatures",
"id": "pc:access"
}
]
}
}
}