Tickets
Access and modify organization's Tickets
Authorization: All requests must be authenticated and authorized by adding a special Header to each request containing the Organization Key (available in https://app.xyte.io/settings/api_keys)
Value | Key |
---|---|
Organization Key | Authorization |
GET
https://hub.xyte.io/core/v1/organization/tickets
Return array of all open tickets
Headers
Name | Type | Description |
---|---|---|
Authorization | String | API_KEY |
GET
https://hub.xyte.io/core/v1/organization/tickets/:ticket_id
Return detailed information on a Ticket
Path Parameters
Name | Type | Description |
---|---|---|
ticket_id* | String | Unique ID of a ticket |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | API_KEY |
PUT
https://hub.xyte.io/core/v1/organization/tickets/:ticket_id
Update ticket status
Path Parameters
Name | Type | Description |
---|---|---|
ticket_id* | String | Unique ticket ID |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | API_KEY |
Request Body
Name | Type | Description |
---|---|---|
title | String | New ticket title |
description | String | New ticket description |
POST
https://hub.xyte.io/core/v1/organization/tickets/:ticket_id/resolved
Mark Ticket as resovled
Path Parameters
Name | Type | Description |
---|---|---|
ticket_id* | String | Unique Ticket ID |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | API_KEY |
POST
https://hub.xyte.io/core/v1/organization/tickets/:ticket_id/message
Add comment to an existing Ticket
Path Parameters
Name | Type | Description |
---|---|---|
ticket_id* | String | Unique Ticket ID |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | API_KEY |
Request Body
Name | Type | Description |
---|---|---|
message* | String | Comment to add |
Error Handling
401 Unauthorized: If the api_key is not provided or is invalid.
403 Forbidden: If the user does not have permission to perform the requested action.
422 Unprocessable Entity: If a required parameter is missing or invalid.
Last updated