Deskpro

App · 3 actions

Combine support queues, ticket details and customer identities in service reports.

Actions

ActionWhat it does
Get personRead the customer or agent details associated with a ticket.
Get ticketRead full ticket details and optionally include related people or departments.
List ticketsRead one page of support tickets accessible to the key’s agent.

Get person

Read the customer or agent details associated with a ticket.

Inputs

Person IDperson_idnumberRequired
Person ID from Get ticket.

Outputs

dataobject
The response from Deskpro.
Example output
{
  "data": {
    "data": {
      "id": 201,
      "name": "Example Customer",
      "primary_email": "customer@example.com"
    }
  }
}

Get ticket

Read full ticket details and optionally include related people or departments.

Inputs

Ticket IDticket_idnumberRequired
Ticket ID from List tickets.
Includeincludetext
Comma-separated documented relations, such as department,person,category,product,workflow.

Outputs

dataobject
The response from Deskpro.
Example output
{
  "data": {
    "data": {
      "agent": 301,
      "department": 1,
      "id": 101,
      "person": 201,
      "ref": "EXAMPLE-101",
      "status": "awaiting_agent",
      "subject": "Example support request"
    }
  }
}

List tickets

Read one page of support tickets accessible to the key’s agent.

Inputs

Pagepagenumber
Page number, starting at 1.At least 1.
Countcountnumber
Number of tickets to return on this page.At least 1.
IDSidstext
Optional comma-separated ticket IDs.

Outputs

dataobject
The response from Deskpro.
Example output
{
  "data": {
    "data": [
      {
        "id": 101,
        "person": 201,
        "subject": "Example support request"
      }
    ],
    "meta": {
      "pagination": {
        "current_page": 1,
        "per_page": 20,
        "total": 1,
        "total_pages": 1
      }
    }
  }
}

On this page