Deskpro
App · 3 actions
Combine support queues, ticket details and customer identities in service reports.
Actions
| Action | What it does |
|---|---|
| Get person | Read the customer or agent details associated with a ticket. |
| Get ticket | Read full ticket details and optionally include related people or departments. |
| List tickets | Read 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 ID
person_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 ID
ticket_idnumberRequired - Ticket ID from List tickets.
- Include
includetext - 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
- Page
pagenumber - Page number, starting at 1.At least 1.
- Count
countnumber - Number of tickets to return on this page.At least 1.
- IDS
idstext - 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
}
}
}
}