Skip to main content

Issue support links from your own tooling

If your helpdesk runs from a ticketing system, you can create DesktopAgent support links from there instead of from the console. The technician never leaves the ticket, and the link can carry the ticket number.

If your helpdesk runs from a ticketing system, you can create DesktopAgent support links from there instead of from the console. The technician never leaves the ticket, and the link can carry the ticket number.

Before you start

  • You need an API key with the Create DesktopAgent support links permission. It doesn't need Use automation unless you also plan to drive the session from code.

  • Your code needs a bearer token. You get one by exchanging the API key. See Call the automation API from your own code.

The flow

  1. Create the link with POST /automation/support-link. The response includes a user_url. Put the ticket number in the optional label. It's the same as the Name or ticket # field in the console.

  2. Send the user_url to the person who needs help.

  3. Poll GET /automation/support-link/{link_uuid} until the status is SHARING.

  4. Open an automation session on the system_uuid the link reports, or hand over to a technician in the console.

  5. When you're finished, end the session. If the link was never used, revoke it.

NOTE: Links work once and expire after 24 hours if unused. Revoke unused links when the ticket closes so none are left outstanding.

Endpoints

Method

Path

Purpose

POST

/automation/support-link

Create a one-time link

GET

/automation/support-link/{link_uuid}

Check its status

GET

/automation/support-links

List this key's links

GET

/automation/support-links/configs

List the DesktopAgent configs you can create links with

POST

/automation/support-link/{link_uuid}/end

End a live session

POST

/automation/support-link/{link_uuid}/revoke

Revoke an unused link

Creating a link also accepts an optional system_config_uuid.

Errors to handle

Code

Meaning

ERR_DA_LINK_NOT_FOUND

The link UUID is wrong

ERR_DA_LINK_ALREADY_USED

The link has been used. Links work once

ERR_DA_LINK_EXPIRED

More than 24 hours old and unused

ERR_DA_LINK_REVOKED

Revoked before it was used

ERR_DA_BINARY_UNAVAILABLE

DesktopAgent couldn't be downloaded for that platform

ERR_PERMISSION_DENIED

The key doesn't have Create DesktopAgent support links

Check it worked

  • The link opens the DesktopAgent download page.

  • The link's status changes to SHARING once the person runs DesktopAgent.

  • The session appears in Admin > Sessions under the API key. In Admin > Session Usage, grouped by actor, its time is shown against the key.

Did this answer your question?