Creates a new SSP publish configuration for a custom group with specified packages, optional credentials, and install context settings.
post /dcapi/swDeployment/publishGroup/create
https://{serverurl}/dcapi/swDeployment/publishGroup/create
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Resource ID of the target custom group. Obtain from the groupResourceId field in the response of the List SSP Publish Groups API.
Configuration type: 1=Computer, 2=User
Array of package publish detail objects
Package ID to publish. Obtain from the packageId field in the response of the List Packages API.
Approval type: 0 - published package without approval, 1 - published package with approval (applicable only when integrated with Service Desk Plus)
Optional credential details for run-as-user installs. Get available credentials from the List Credentials API.
Credential identifier
Credential UUID string
Display name of the credential
Optional install context: systemUser, targetUser, or runAsUser
Optional flag to allow user interaction during installation
curl --request POST \
--url https://appdomains/dcapi/swDeployment/publishGroup/create \
--header 'Accept: application/publishPackage.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/publishPackage.v1+json' \
--data '{}'Publish packages to a computer group
{
"packageDetails": [
{
"packageId": 10001,
"packageApproval": 0
},
{
"packageId": 10002,
"packageApproval": 0
}
],
"configType": 1,
"groupResourceId": "301"
}
Publish with credentials and install context
{
"packageDetails": [
{
"credentialDetails": {
"credentialUUID": "abc-123",
"credentialID": 100,
"credentialName": "Admin"
},
"packageId": 10003,
"installUsing": "runAsUser",
"allowUserToInteract": true,
"packageApproval": 1
}
],
"configType": 2,
"groupResourceId": "302"
}
Localized message describing the publish result. Contains success confirmation, archived package warning, or invalid package error.
Unauthorized error code: credentials missing, expired, or invalid
Authentication failure reason
INTERNAL_ERROR for publish/modify failures, SW_INTERNAL_ERROR for SSP configuration errors
Internal server error with details about the SSP publish or group operation failure
Packages published successfully
{
"statusMsg": "Packages published for the Group (Engineering Workstations)"
}
No access to publish
{
"errorMessage": "The user has no access to publish packages.",
"errorCode": "ACCESS_DENIED"
}
Server error
{
"errorMessage": "Internal Server Error",
"errorCode": "INTERNAL_ERROR"
}
![]()
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.