/api/v1/tickets/getTicketById

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Get Ticket by ID

Fetches the complete detail record for a single ticket, including its current status, priority, department, description, assignment, resolution notes, and timestamps. Use this endpoint to check the current state of a ticket after creation or to display ticket details in a merchant management interface.

Endpoint

GET /api/v1/tickets/getTicketById

Authentication

Basic HTTP Authentication required.
Encode username:password in Base64 and pass in the Authorization header:

Authorization: Basic {base64(username:password)}

When to use

Use this endpoint to monitor the lifecycle of an open ticket — for example, to check whether an Instant Funding request has moved from New to InProgress or Resolved. It is also used to verify ticket details before performing update operations or to confirm that a newly created ticket was captured correctly.

Query Parameters

ParameterTypeRequiredDescription
idinteger (int32)YesMerchant profile ID associated with the ticket.
ticketIdinteger (int32)YesID of the ticket to retrieve.

Response

200 OK

FieldTypeDescription
data.ticketIdintegerThe unique ticket ID.
data.statusstringCurrent ticket status: New, Pending, InProgress, or Resolved.
data.merchantProfileIdintegerMerchant profile ID linked to the ticket.
data.dbastringMerchant DBA name.
data.subjectstringTicket subject line.
data.prioritystringTicket priority: Low, Medium, High, or Critical.
data.departmentstringAssigned department: CustomerService or Underwriting.
data.descriptionstringFull description of the ticket request.
data.categorystringTicket category (if assigned by the department).
data.subCategorystringTicket sub-category (if assigned).
data.assignedstringName or username of the assigned agent.
data.resolutionstringResolution notes entered when the ticket is closed.
data.typestringTicket type classification.
data.createdstring (date-time)ISO 8601 timestamp when the ticket was created.
data.updatedstring (date-time)ISO 8601 timestamp of the last update.
data.hasAttachmentbooleantrue if one or more attachments exist on the ticket.
data.creationTypestringIndicates how the ticket was created (e.g., API, Portal).
requestIdintegerInternal request tracking ID.
successbooleantrue if the ticket was retrieved successfully.
errorstringError message if the operation failed.
validationErrorsarrayList of field-level validation issues.
{
  "data": {
    "ticketId": 48291,
    "status": "InProgress",
    "merchantProfileId": 70269,
    "dba": "Sunshine Retail LLC",
    "subject": "Instant Funding",
    "priority": "Low",
    "department": "Underwriting",
    "description": "Please enable Instant Funding for this merchant. Banking application has been submitted.",
    "category": "Funding",
    "subCategory": "Instant Funding",
    "assigned": "[email protected]",
    "resolution": null,
    "type": "Request",
    "created": "2026-05-15T09:00:00Z",
    "updated": "2026-05-20T14:32:00Z",
    "hasAttachment": true,
    "creationType": "API"
  },
  "requestId": 98130,
  "success": true,
  "error": null,
  "validationErrors": []
}

Error Codes

CodeWhen it happens
400Missing or invalid query parameters (id or ticketId).
401Invalid or missing Basic Auth credentials.
403User does not have permission for this operation.
404Ticket not found for the given ticketId.
500Internal server error.

Common Mistakes

  • Confusing the id (merchant profile ID) with the ticketId — both are required and distinct.
  • Assuming the status field will immediately reflect changes — allow a short delay after update operations before polling.
  • Checking hasAttachment and expecting a list — use getAttachmentsByTicketId to retrieve the attachment list.

Related Endpoints

  • GET /api/v1/tickets/getTickets — List multiple tickets with filtering options.
  • POST /api/v1/tickets/update — Update the status or details of this ticket.
  • GET /api/v1/tickets/getCommentsByTicketId — Retrieve the comment thread for this ticket.

Example

curl -X GET "https://hq.staging.netevia.dev/api/v1/tickets/getTicketById?id=70269&ticketId=48291" \
  -H "Authorization: Basic $(echo -n 'username:password' | base64)"
Query Params
int32
required
int32
required
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json