Create tickets


Create Contact Support Ticket

This endpoint creates a new support ticket associated with a customer's email address and a specific support topic. It is used to open a communication thread with the Netevia support team regarding account or profile-related issues. Upon success, the response returns the full ticket record including its unique ID, topic details, and creation timestamp.

Endpoint

POST /api/support/createContactSupportTicket

Authentication

Bearer token required. Obtain via:

POST https://api.banking.netevia.dev/api/auth/v2

Include in header: Authorization: Bearer {token} Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.

When to use

Use this endpoint when a customer or partner needs to contact Netevia support about a specific issue such as an account update request, a dispute, or a general inquiry. It is appropriate when you want to programmatically open a support case rather than directing the user to a manual support channel. The topicId field allows routing the ticket to the correct support queue.

Request Body

FieldTypeRequiredDescription
emailstring (email)YesEmail address of the contact submitting the ticket. Must be a valid email format.
textstringYesThe body or message of the support ticket. Minimum length of 1 character.
topicIdinteger (int32)NoID of the support topic category to route the ticket. Obtain available topic IDs from the support topics listing.
{
  "topicId": 3,
  "text": "I need to update the phone number associated with my account. Please advise on next steps.",
  "email": "[email protected]"
}

Response

200 OK

FieldTypeDescription
ticketIdinteger (int32)Unique identifier for the newly created support ticket.
ticketTopicIdinteger (int32)ID of the support topic associated with this ticket.
ticketTopicobjectExpanded topic details. See ticketTopic object below.
ticketTopic.idinteger (int32)Unique ID of the topic.
ticketTopic.namestringDisplay name of the support topic.
ticketTopic.responseTimestringExpected response time for this topic (e.g., "24 hours").
ticketTopic.isDeletedbooleanWhether this topic has been soft-deleted.
ticketTopic.isHiddenbooleanWhether this topic is hidden from public display.
userProfileIdinteger (int32)Internal profile ID of the user who submitted the ticket.
createdstring (date-time)ISO 8601 timestamp of when the ticket was created.
textstringThe message body submitted in the ticket.
parentTicketIdinteger (int32) | nullID of a parent ticket if this is a follow-up reply; null for new tickets.
isNewbooleanIndicates whether the ticket is new and has not yet been reviewed by support.
updateFieldRequeststringEnum indicating a profile field update type requested via the ticket (e.g., Phone, Email, Address, Ssn, DateOfBirth, LegalBusinessName).
ipAddressstring | nullIP address from which the ticket was submitted.
{
  "ticketId": 10245,
  "ticketTopicId": 3,
  "ticketTopic": {
    "id": 3,
    "name": "Account Update Request",
    "responseTime": "24 hours",
    "isDeleted": false,
    "isHidden": false
  },
  "userProfileId": 88401,
  "created": "2026-06-08T14:32:00Z",
  "text": "I need to update the phone number associated with my account. Please advise on next steps.",
  "parentTicketId": null,
  "isNew": true,
  "updateFieldRequest": "Phone",
  "ipAddress": null
}

Error Codes

CodeWhen it happens
400Missing required fields (email or text) or validation error (e.g., invalid email format, empty text)
401Token missing, expired, or invalid
403Insufficient permissions to create a support ticket
404Specified topicId not found
500Internal server error

Common Mistakes

  • Omitting the email or text fields — both are required; the request will return a 400 error without them.
  • Providing an invalid email format for the email field — the value must conform to standard email formatting.
  • Submitting an empty string for text — the field requires a minimum length of 1 character.
  • Using an incorrect or stale topicId — verify valid topic IDs before submission to ensure proper routing.

Related Endpoints

  • GET /api/support/getContactSupportTickets — Retrieve a list of support tickets for the authenticated user
  • POST /api/support/replyToContactSupportTicket — Post a reply to an existing support ticket
  • GET /api/support/getSupportTopics — Retrieve available support topic categories and their IDs

Example

curl -X POST https://api.banking.netevia.dev/api/support/createContactSupportTicket \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "topicId": 3,
    "text": "I need to update the phone number associated with my account. Please advise on next steps.",
    "email": "[email protected]"
  }'
Body Params
int32
string
required
length ≥ 1
string
required
length ≥ 1
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

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