---
title: "/provisioning/validateUploadTrunkUsersInBulk"
slug: "provisioningvalidateuploadtrunkusersinbulk-1"
updated: 2025-06-17T20:37:14Z
published: 2025-06-17T20:37:19Z
canonical: "kb.connecttoteams.com/provisioningvalidateuploadtrunkusersinbulk-1"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://kb.connecttoteams.com/llms.txt
> Use this file to discover all available pages before exploring further.

# /provisioning/validateUploadTrunkUsersInBulk

Post/provisioning/validateUploadTrunkUsersInBulk

Operation to validate Users in Bulk to the System. This operation also enables the Calling Services for all the uploaded Users

SecurityOAuthFlowPassword Token URL/oauth/token
		

Body parameters<select class='api-response-data' aria-label='Media type'><option value='a609e3d5-5b1b-4955-a371-39e7b42f12aa'>application/json</option>
</select>Expand Allobject  authenticationResultobject (MSALAuthenticationResult)  authenticationResultobject (AuthenticationResult)  accessTokenstring    
accessTokenTypestring    
expiresAfterinteger  (int64)    
expiresOninteger  (int64)    
expiresOnDatestring  (date-time)    
idTokenstring    
multipleResourceRefreshTokenboolean    
refreshTokenstring    
userInfoobject (UserInfo)  displayableIdstring    
identityProviderstring    
tenantIdstring    

resellerIdinteger  (int64)    
tenantIdstring    

defaultProfileboolean    
directRouteIdinteger  (int64)    Required

Voice Route identifier - value must be greater than 0

profileIdinteger  (int64)    Required

Profile ID - cannot be empty

updateExistingUserboolean    
useAudioConferenceVRPboolean    
useEnterpriseDialPlanboolean    
useTeamsVoicemailboolean    
usersstring  (byte)    Required

Users data - Must be a Base64 encoded byte array containing the Users data.

Responses200

OK

<select class='api-response-data' aria-label='Media type'><option value='9e6ffe3b-602d-41a1-9b71-e3d5c0505c33'>*/*</option>
</select>Expand Allobject  hasErrorsboolean    
userData Array of object (TrunkUserBulk)   object  defaultDIDIndexinteger  (int32)    
defaultValboolean    
domainstring    
errorList Array of object (UserError)   object  errorMessage Array of string   string    
fieldNamestring    

idinteger  (int64)    
teamsUserIdstring    
trunkDIDs Array of object (TrunkDIDs)   object  defaultValboolean    
didstring    
errorstring    

trunkProfileIdinteger  (int64)    
trunkProfileNamestring    
trunkUserCallPolicyInfoobject (TrunkUserCallPolicyInfo)  callPolicyCNAMstring    Valid values[
  "TRANSPARENT",
  "OTHER",
  "TRUNK_SETTINGS"
]Default"TRUNK_SETTINGS"
callPolicyCallerIdstring    Valid values[
  "TRANSPARENT",
  "OTHER",
  "TRUNK_SETTINGS"
]Default"TRUNK_SETTINGS"
callPolicyCustomCNAMstring    
callPolicyCustomCallerIdstring    
callPolicyNamestring    Default"Global"
customPAIstring    
forwardedCallsCNAMstring    Valid values[
  "TRANSPARENT",
  "OTHER",
  "TRUNK_SETTINGS"
]Default"TRUNK_SETTINGS"
forwardedCallsCallerIdstring    Valid values[
  "USER_CALLER_ID",
  "TRANSPARENT",
  "OTHER",
  "TRUNK_SETTINGS"
]Default"TRUNK_SETTINGS"
forwardedCallsCustomCNAMstring    
forwardedCallsCustomCallerIdstring    
forwardedCallsPAICustomValuestring    
forwardedCallsPAIValuestring    Valid values[
  "USER_TEAM_DID",
  "USER_CALLER_ID",
  "FROM_HEADER_VALUE",
  "TRANSPARENT",
  "OTHER",
  "NONE",
  "TRUNK_SETTINGS"
]Default"TRUNK_SETTINGS"
paiValuestring    Valid values[
  "USER_TEAM_DID",
  "USER_CALLER_ID",
  "FROM_HEADER_VALUE",
  "TRANSPARENT",
  "OTHER",
  "NONE",
  "TRUNK_SETTINGS"
]Default"TRUNK_SETTINGS"
resellerIdinteger  (int64)    
trunkUserIdinteger  (int64)    

useTeamsVoicemailboolean
