Resolves the computer resource ID from a user resource ID for chat initiation

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Resolves the computer resource ID from the given user resource ID and optional computer name. Used to target the correct endpoint when initiating a chat session for a specific user.

Request URL

https://{serverurl}/dcapi/tools/chat/{userId}/resourceID

Scope

DesktopCentralCloud.Tools.READCopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/jsonapplication/jsonCopied!

- Path Parameters

userIdstringMandatory

The unique identifier of the user

- Query Parameters

computerNamestringOptional

Name of the computer to resolve the resource ID for. If omitted, returns the first matching computer for the user

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomains/dcapi/tools/chat/{userId}/resourceID \
  --header 'Accept: application/json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
computerResourceIdlong

Resource identifier of the computer associated with the session

computerNamestring

Name of the computer

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Copied!
  {
    "computerName": "WIN-DESKTOP-01",
    "computerResourceId": 101
  }
                
Show full

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.