New API version v7.4.2 has been released! 🎉
REST Documentation
GET Tickets

Get All Tickets

You can use this endpoint to get a paginated list of all tickets.

Request

GET /api/v1/tickets
curl --request GET \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/tickets' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Response

{
	"data": [
		{
			"id": 1,
			"subject": "Update customer contact form",
			"priority": 3,
			"status": {
				"id": 5,
				"name": "approved"
			},
			"creator_username": "john.doe",
			"processor_username": "jane.smith",
			"date": "2024-02-25 13:36:42",
			"receipt_date": null,
			"start_date": null,
			"deadline": null,
			"processing_date": "2024-02-28 14:09:38",
			"done_date": "2024-02-28 14:11:38",
			"approved_date": "2024-03-12 08:23:54",
			"rejected_date": null,
			"billed_date": null,
			"planned_hours": null,
			"prevent_overbooking": 0,
			"history_modified": "2024-03-12 08:23:54",
			"project_id": 43,
			"project_task_id": 196,
			"notify_of_completion": null,
			"customer_contact_person_id": null,
			"history_creator_username": "john.doe",
			"customer_reference": null,
			"external_ticket_number": null,
			"from_mail": null,
			"created": "2024-02-25T13:36:42.000000Z",
			"modified": "2024-05-14T14:13:24.000000Z",
			"keywords": [],
			"categories": []
		},
		{
			"id": 2,
			"subject": "Fix email notification issue",
			"priority": 3,
			"status": {
				"id": 5,
				"name": "approved"
			},
			"creator_username": "john.doe",
			"processor_username": "alice.brown",
			"date": "2024-02-25 13:41:53",
			"receipt_date": null,
			"start_date": null,
			"deadline": null,
			"processing_date": "2024-02-28 09:56:31",
			"done_date": "2024-02-28 09:57:13",
			"approved_date": "2024-03-12 08:23:46",
			"rejected_date": null,
			"billed_date": null,
			"planned_hours": null,
			"prevent_overbooking": 0,
			"history_modified": "2024-03-12 08:23:46",
			"project_id": 128,
			"project_task_id": 887,
			"notify_of_completion": null,
			"customer_contact_person_id": null,
			"history_creator_username": "john.doe",
			"customer_reference": null,
			"external_ticket_number": null,
			"from_mail": null,
			"created": "2024-02-25T13:41:53.000000Z",
			"modified": "2024-02-28T09:57:13.000000Z",
			"keywords": [],
			"categories": []
		}
	]
}

Optional Parameters

  • Name
    start_date
    Type
    date | Y-m-d
    Description

    First day of the period to be queried. It is inclusive, so the day specified as start_date will also be considered on the results

  • Name
    end_date
    Type
    date | Y-m-d
    Description

    Last day of the period to be queried. It is inclusive, so the day specified as end_date will also be considered on the results.

  • Name
    limit
    Type
    integer
    Description

    Attribute for limiting the number of entries per page