curl --request GET \
--url https://app.msportal.ai/api/public/v1/tickets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"ticketNumber": "<string>",
"title": "<string>",
"description": "<string>",
"companyId": "<string>",
"companyName": "<string>",
"contactName": "<string>",
"contactEmail": "<string>",
"status": "<string>",
"isClosed": true,
"priority": "<string>",
"assignedTo": "<string>",
"boardName": "<string>",
"queueName": "<string>",
"typeName": "<string>",
"categoryName": "<string>",
"issueTypeName": "<string>",
"hoursBudgeted": 123,
"hoursActual": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"daysOpen": 123,
"provider": "<string>",
"externalId": "<string>",
"source": "<string>",
"notes": [
{
"id": "<string>",
"text": "<string>",
"isInternal": true,
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>"
}
]
}
}Retrieve a single ticket by ID with optional notes. The ID can be either the internal ticket ID or the PSA ticket number.
curl --request GET \
--url https://app.msportal.ai/api/public/v1/tickets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"ticketNumber": "<string>",
"title": "<string>",
"description": "<string>",
"companyId": "<string>",
"companyName": "<string>",
"contactName": "<string>",
"contactEmail": "<string>",
"status": "<string>",
"isClosed": true,
"priority": "<string>",
"assignedTo": "<string>",
"boardName": "<string>",
"queueName": "<string>",
"typeName": "<string>",
"categoryName": "<string>",
"issueTypeName": "<string>",
"hoursBudgeted": 123,
"hoursActual": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"daysOpen": 123,
"provider": "<string>",
"externalId": "<string>",
"source": "<string>",
"notes": [
{
"id": "<string>",
"text": "<string>",
"isInternal": true,
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>"
}
]
}
}Use your API key as a Bearer token. API keys can be generated in Settings → Integrations → API Access.
Ticket ID or PSA ticket number
Include ticket notes
Maximum notes to return
1 <= x <= 100Ticket details with notes
Show child attributes