---
title: "Get Helpdesk Ticket Log"
method: GET
path: "/v1/data_extract/ticket_log"
tags: ["Data Extract"]
---

# Get Helpdesk Ticket Log

`GET /v1/data_extract/ticket_log`

## Request

- Base URL: `https://api.capacity.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.capacity.com/v1/data_extract/ticket_log`
- Auth: one of:
  - API key in header `x-capacity-id`
  - HTTP bearer

Get Helpdesk data. Results are paginated.

## Query parameters

- `page` integer
- `limit` integer
- `start_datetime` string, required
- `end_datetime` string, required
- `updated_at_utc_start` string
- `updated_at_utc_end` string
- `assigned_user_email` string
- `ticket_reporter_email` string
- `project_name` string
- `ticket_priority` string
- `ticket_status` string
- `user_type` string

## Response `200`

A custom data array of TicketLog objects

- object
  - `body` object: Json body data in the request
  - `limit` integer: Number of results returned
  - `page` integer: Page of results returned
  - `parameters` object: Query parameters in the request
  - `result` TicketLogResponseSchema[]
    - `org_name` string: Organization name
    - `project_name` string: Project name associated with the ticket
    - `ticket_priority` string: Priority assigned to the ticket
    - `ticket_status` string: Status assigned to the ticket
    - `ticket_type` string: Type of the ticket
    - `ticket_key` string: Key of the ticket
    - `ticket_uuid` string: UUID of the ticket
    - `ticket_title` string: Title of the ticket
    - `ticket_description` string: Description of the ticket
    - `ticket_reporter_email` string: Email of the user who reported the ticket
    - `ticket_reporter_name` string: Name of the user who reported the ticket
    - `assigned_user_name` string: Name of the user assigned to the ticket
    - `assigned_user_email` string: Email of the user assigned to the ticket
    - `first_response_sent_utc` string: UTC timestamp when the first response was sent
    - `time_first_assigned_utc` string, date-time: The date (in UTC) the ticket was first assigned to a user
    - `time_to_first_assigned_in_minutes` integer: The amount of time (in minutes) until the ticket was first assigned to a user from the start of response log
    - `time_to_first_response_in_minutes` string: Time to first response in minutes
    - `first_responder_email` string: Email of the first responder
    - `first_responder_name` string: Name of the first responder
    - `latest_response_sent_utc` string: UTC timestamp when the latest response was sent
    - `latest_responder_email` string: Email of the latest responder
    - `latest_responder_name` string: Name of the latest responder
    - `due_date_utc` string: UTC due date of the ticket
    - `sla_ever_breached` string: Indicates if SLA was ever breached
    - `first_sla_breached_at_utc` string: UTC timestamp when the first SLA was breached
    - `latest_sla_breached_at_utc` string: UTC timestamp when the latest SLA was breached
    - `deleted_at` string: UTC timestamp when the ticket was deleted
    - `delete_reason_name` string: Reason for deleting the ticket
    - `is_ticket_complete` string: Indicates if the ticket is complete
    - `ticket_completed_at_utc` string: UTC timestamp when the ticket was completed
    - `time_to_resolution_in_minutes` string: Time to resolution in minutes
    - `assigned_user_email_when_ticket_completed` string: Email of the user assigned to the ticket when it was completed
    - `assigned_user_name_when_ticket_completed` string: Name of the user assigned to the ticket when it was completed
    - `ticket_tags` string: Tags associated with the ticket
    - `custom_fields` object: Custom fields associated with the ticket
    - `ticket_created_at_utc` string: UTC timestamp when the ticket was created
    - `ticket_updated_at_utc` string: UTC timestamp when the ticket was most recently updated

## Other responses

- `400`: The request contains malformed data or violates data integrity

---

[API](https://skmtc.dev/capacity/apis/capacity-api-docs.md) - [All operations](https://skmtc.dev/capacity/apis/capacity-api-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/capacity/apis/capacity-api-docs/revisions/74c85bb61004?raw)
