Creates a new remote office (branch office). Supports configuring DS details, proxy settings, replication policy, and auto-install options.
post /dcapi/som/remote-offices
https://{serverurl}/dcapi/som/remote-offices
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Specifies the unique identifier of the remote office. Required only during remote office update, should not be provided during creation.
Administrator-defined display name for the remote office
Optional administrator-provided description for the remote office (max 250 characters)
Protocol for agent-to-server communication. Allowed value:'HTTPS'
Tracking identifier for the computer modification operation. When creating a remote office, provide the current time in milliseconds. When updating, retrieve this value from the Unique Service ID
Set to true to configure a proxy server for agent communication in this remote office. When true, the proxyDetails object is required
Proxy server configuration including host, port, and credentials, These details required only when isProxyDefined is set to true
Hostname or IP address of the proxy server used for agent-to-server communication
Port number on which the proxy server listens for connections
Username for authenticating with the proxy server. Leave empty if the proxy does not require authentication
Password for authenticating with the proxy server. Leave empty if the proxy does not require authentication
Set to true to associate a Distribution Server with this remote office. When true, the dsDetails object is required
Distribution server details including hostname, domain, IP, and port, These details required only when hasDS is set to true
NetBIOS name of the Active Directory domain where the Distribution Server resides
Hostname of the computer where the Distribution Server is or will be installed
Array of IP addresses assigned to the Distribution Server. At least one IP address is required
Fully qualified DNS name of the Distribution Server (e.g., 'DS-NYC-01.corp.local')
HTTPS port number for secure communication with the Distribution Server, Allowed Value is 8384
Set to false, Not supported via API. Use the web console to configure this setting
Auto-install configuration including agent and DS auto-install settings
Enable or disable automatic agent installation for discovered computers. For Cloud it is not applicable, so this must be set to false
Enable or disable automatic Distribution Server installation.For Cloud it is not applicable, so this must be set to false
Credential configuration for auto-installation containing the credential identifier and UUID
Numeric identifier of the credential to use for auto-installation. For Cloud it is not applicable, so this must be set to -1 (no credential)
UUID of the credential to use for auto-installation. For Cloud it is not applicable, so this must be set to '--' (no credential)
Replication policy assignment with policy ID
Identifier of the replication policy to assign to this remote office. Fetch available IDs from List Replication Policies
Remote control settings for compression and color quality. Only compression=1 and colorQuality=16 applicable for Cloud
Remote control data compression setting: 0 = Fast, 1 = Best. For Cloud it is not applicable, so this must be set to 1
Remote control display color depth in bits: 4, 8, 16, or 24. For Cloud it is not applicable, so this must be set to 16
curl --request POST \
--url https://appdomains/dcapi/som/remote-offices \
--header 'Accept: application/remoteOfficeAddedStatus.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/remoteOfficeDetails.v1+json' \
--data '{}'Create remote office with Distribution Server
{
"uniqueServiceID": 1776064906199,
"dsDetails": {
"dsHTTPSPort": "8383",
"dsName": "DS-NYC-01",
"dsIPAddress": [
"10.1.0.10"
],
"domainNetbiosName": "CORP",
"dsDNSName": "DS-NYC-01.corp.local"
},
"description": "New York City branch",
"replicationPolicy": {
"replicationPolicyID": "1"
},
"remoteOfficeName": "Branch Office NYC",
"remoteInstallationDetails": {
"credentialDetails": {
"credentialUUID": "--",
"credentialID": "-1"
},
"isDSAutoInstall": false,
"isAgentAutoInstall": false
},
"isProxyDefined": false,
"agentCommunication": "HTTPS",
"remoteControlSettings": {
"compression": "1",
"colorQuality": "16"
},
"hasDS": true,
"hasOSDeployment": false
}
Create remote office with DS, proxy, and OS deployment
{
"uniqueServiceID": 1776064906199,
"dsDetails": {
"dsHTTPSPort": "8384",
"dsName": "US",
"dsIPAddress": [
"10.92.32.36"
],
"domainNetbiosName": "WORKGROUP",
"dsDNSName": "us.WORKGROUP.com"
},
"replicationPolicy": {
"replicationPolicyID": "33469000000436006"
},
"remoteOfficeName": "dsfsdfsdf",
"remoteInstallationDetails": {
"credentialDetails": {
"credentialUUID": "--",
"credentialID": "-1"
},
"isDSAutoInstall": false,
"isAgentAutoInstall": false
},
"isProxyDefined": true,
"agentCommunication": "HTTPS",
"remoteControlSettings": {
"compression": 1,
"colorQuality": 24
},
"hasDS": true,
"hasOSDeployment": false,
"proxyDetails": {
"proxyPort": 80,
"proxyUsername": "Proxy",
"proxyPassword": "Proxy@123",
"proxyHost": "US-PROXY"
}
}
Unique identifier of the created or updated remote office. Present only in update responses
true if the remote office was created or updated successfully
Descriptive message providing details about the outcome of the remote office operation. Present on update or when an error occurs
true if MSI creation for agent failed during the operation
HTTP status code (400)
API-specific error code identifying the validation failure
Error message describing the validation failure
HTTP status code (404)
Error code identifying the resource that was not found
Error message describing the missing resource
HTTP status code (412)
Precondition failed error code identifying the business logic violation
Error message describing the precondition failed while processing request
Remote office created
{
"status": true
}
Required remote office parameters are missing
{
"errorCode": "30052",
"message": "Required remote office parameters are missing",
"statusCode": 400
}
Replication policy does not exist
{
"errorCode": "30027",
"message": "Replication policy not found",
"statusCode": 404
}
Remote office name already exists
{
"errorCode": "30053",
"message": "Remote office name already exists",
"statusCode": 412
}
DS limit reached or incompatible license
{
"errorCode": "20216",
"message": "Distribution Server limit reached or incompatible license",
"statusCode": 412
}
Cannot use Local Office as remote office name
{
"errorCode": "30058",
"message": "Local Office name is not allowed for remote office",
"statusCode": 412
}
DS is already added under another remote office
{
"errorCode": "30054",
"message": "Distribution Server is already added in another remote office",
"statusCode": 412
}
Domain NetBiosName does not match with the credentials
{
"errorCode": "30035",
"message": "Domain NetBiosName does not match with the credentials provided",
"statusCode": 412
}
Domain not found for the given credentials
{
"errorCode": "30073",
"message": "Domain name not found for the given credentials",
"statusCode": 412
}
Proxy not allowed when client certificate auth is enabled
{
"errorCode": "30078",
"message": "Proxy is not allowed when client certificate authentication is enabled",
"statusCode": 412
}
![]()
Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes
Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.