Deskpro MCP by usefulapi

v1.41.1
io.usefulapi/deskpro Checked 3 days ago Published 1 day ago

Search tickets, people, organizations and KB articles in Deskpro, and create tickets and replies.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

deskpro_get_me Get the authenticated agent

Return who the API key acts as — the auth method, the bound person id and their profile. A cheap way to confirm the helpdesk URL and key are right. Deskpro: GET /api/v2/me.

deskpro_list_tickets List tickets

List tickets, filtered by status, assigned agent, requester, organization, department or labels, and sorted. Returns ticket objects (id, ref, subject, ticket_status, agent, person, department, urgency, labels, dates) plus pagination meta. Deskpro: GET /api/v2/tickets.

ParameterTypeDescription
agentintegerOnly tickets assigned to this agent id.
countintegerResults per page, 1-200.
departmentintegerOnly tickets in this department id.
group_sortstringSort direction.
idsstringFetch exactly these ticket ids (comma-separated).
includestringComma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization.
labelsstringOnly tickets with these labels (comma-separated).
order_bystringSort field.
organizationintegerOnly tickets from this organization id.
pageintegerPage number, starting at 1.
personintegerOnly tickets raised by this person id.
statusstringOnly tickets in this status, e.g. awaiting_agent, awaiting_user, pending, resolved.

deskpro_get_ticket Get one ticket

Fetch a single ticket by id, with its subject, status, assignment, requester, labels, custom fields, SLA state and timing. A merged ticket redirects to the ticket it was merged into. Deskpro: GET /api/v2/tickets/{id}.

ParameterTypeDescription
ticket_id *integerThe ticket's numeric id.
includestringComma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization.

deskpro_list_ticket_messages List a ticket's messages

List the conversation on one ticket — every reply and agent note, with its author, date, is_agent_note flag and HTML body. Deskpro: GET /api/v2/tickets/{id}/messages.

ParameterTypeDescription
ticket_id *integerThe ticket's numeric id.
countintegerResults per page, 1-200.
includestringComma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization.
pageintegerPage number, starting at 1.

deskpro_list_people List people

List people (end users and agents), searchable by name and filterable by email, organization or agent flag. Deskpro: GET /api/v2/people.

ParameterTypeDescription
countintegerResults per page, 1-200.
includestringComma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization.
is_agentbooleantrue for agents only, false for end users only.
order_bystringSort field.
order_dirstringSort direction.
organizationstringOnly members of these organization ids (comma-separated).
pageintegerPage number, starting at 1.
primary_emailstringOnly the person with this primary email.
searchstringSearch on name.

deskpro_get_person Get one person

Fetch a single person by id — name, emails, phone numbers, organization, labels, custom fields and ticket count. Deskpro: GET /api/v2/people/{id}.

ParameterTypeDescription
person_id *integerThe person's numeric id.
includestringComma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization.

deskpro_list_person_tickets List a person's tickets

List the tickets raised by one person — their support history. Deskpro: GET /api/v2/people/{id}/tickets.

ParameterTypeDescription
person_id *integerThe person's numeric id.
countintegerResults per page, 1-200.
pageintegerPage number, starting at 1.

deskpro_list_organizations List organizations

List customer organizations, filterable by name or labels. Deskpro: GET /api/v2/organizations.

ParameterTypeDescription
countintegerResults per page, 1-200.
includestringComma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization.
labelsstringOnly organizations with these labels (comma-separated).
namestringOnly the organization with this name.
pageintegerPage number, starting at 1.
searchstringSearch on name.

deskpro_get_organization Get one organization

Fetch a single organization by id — name, summary, email domains, labels, custom fields and ticket count. Deskpro: GET /api/v2/organizations/{id}.

ParameterTypeDescription
organization_id *integerThe organization's numeric id.
includestringComma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization.

deskpro_list_organization_tickets List an organization's tickets

List the tickets belonging to one organization. Deskpro: GET /api/v2/organizations/{id}/tickets.

ParameterTypeDescription
organization_id *integerThe organization's numeric id.
countintegerResults per page, 1-200.
pageintegerPage number, starting at 1.

deskpro_list_articles List knowledgebase articles

List knowledgebase articles, filterable by category, status and author. Deskpro: GET /api/v2/articles.

ParameterTypeDescription
authorstringOnly articles by this author id, or 'me' for the key's agent.
categoryintegerOnly articles in this category id.
countintegerResults per page, 1-200.
order_bystringSort field.
pageintegerPage number, starting at 1.
statusstringOnly articles in this status.

deskpro_get_article Get one article

Fetch a single knowledgebase article by id — title, content, status, categories and labels. Deskpro: GET /api/v2/articles/{id}.

ParameterTypeDescription
article_id *integerThe article's numeric id.

deskpro_list_departments List ticket departments

List the ticket departments (id, title, parent, whether tickets/chat are enabled) — needed to route a new ticket. Deskpro: GET /api/v2/ticket_departments.

ParameterTypeDescription
countintegerResults per page, 1-200.
pageintegerPage number, starting at 1.

deskpro_list_agents List agents

List the helpdesk's agents (id, name, email, online state) — needed to assign a ticket. Deskpro: GET /api/v2/agents.

ParameterTypeDescription
countintegerResults per page, 1-200.
online1 = online only, 0 = offline only, -1 = both.
pageintegerPage number, starting at 1.

deskpro_list_ticket_statuses List ticket statuses

List the ticket statuses and custom sub-statuses (status_type, status_code, title) configured on the helpdesk. Deskpro: GET /api/v2/ticket_statuses.

ParameterTypeDescription
countintegerResults per page, 1-200.
pageintegerPage number, starting at 1.
status_typestringOnly statuses of this type.

deskpro_create_ticket Create a ticket

Open a new ticket for a requester (by person id, or by email — Deskpro creates the person if the email is new) with a first message. Depending on the helpdesk's triggers this may email the requester. Returns the created ticket. Deskpro: POST /api/v2/tickets.

ParameterTypeDescription
message *stringThe first message body.
subject *stringThe ticket subject.
agent_idintegerAssign to this agent id.
agent_teamintegerAssign to this agent team id.
departmentintegerDepartment id (see deskpro_list_departments).
labelsarrayLabels to set.
message_formatstringFormat of the message body. Default text.
organizationintegerOrganization id.
person_emailstringThe requester's email (used when person_id is not given).
person_idintegerThe requester's person id.
person_namestringThe requester's name, for a new person.
statusstringTicket status: awaiting_agent, awaiting_user, pending or resolved, optionally with a custom sub-status id suffix (e.g. pending.5 — see deskpro_list_ticket_statuses). The hidden (deleted/spam) status…
urgencyintegerUrgency 1-10.

deskpro_update_ticket Update a ticket

Change a ticket's subject, status, assignment, department, organization, urgency, hold state or labels. Only the fields you pass are sent. Reversible by updating again. Cannot set the hidden (deleted/spam) status. Deskpro: PUT /api/v2/tickets/{id}.

ParameterTypeDescription
ticket_id *integerThe ticket's numeric id.
agent_idintegerAssign to this agent id.
agent_teamintegerAssign to this agent team id.
departmentintegerMove to this department id.
is_holdbooleanPut the ticket on hold (true) or take it off hold (false).
labelsarrayThe ticket's labels.
organizationintegerSet the organization id.
statusstringTicket status: awaiting_agent, awaiting_user, pending or resolved, optionally with a custom sub-status id suffix (e.g. pending.5 — see deskpro_list_ticket_statuses). The hidden (deleted/spam) status…
subjectstringNew subject.
urgencyintegerUrgency 1-10.

deskpro_add_ticket_message Reply to a ticket or add a note

Add a message to a ticket as the key's agent. With is_note=true it is an internal agent note (not shown to the requester); with is_note=false it is a REPLY that the helpdesk emails to the requester — that cannot be unsent. Deskpro: POST /api/v2/tickets/{id}/messages.

ParameterTypeDescription
is_note *booleantrue = internal agent note; false = public reply to the requester.
message *stringThe message body.
ticket_id *integerThe ticket's numeric id.
formatstringFormat of the body. Default text.

deskpro_create_organization Create an organization

Create a customer organization. Email domains auto-associate people with matching addresses. Deskpro: POST /api/v2/organizations.

ParameterTypeDescription
name *stringThe organization's name.
email_domainsarrayEmail domains belonging to the organization, e.g. example.com.
labelsarrayLabels to set.
summarystringA short description.