Create Ticket
Create a new support ticket.
POST
/api/v1/tickets/createDescription
Creates a ticket in Resolve Now and routes it to Unduit support. Send ticket fields inside formData (required: name, email, summary).
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer <access_token> | Yes |
| Content-Type | application/json | Yes |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| formData | object | Yes | Ticket form payload. |
| formData.name | string | Yes | Requester name (defaults from corporate user if omitted). |
| formData.email | string | Yes | Requester email (defaults from corporate user if omitted). |
| formData.summary | string | Yes | Ticket title. |
| formData.description | string | No | Detailed description. |
| watchers | array | No | User IDs to watch the ticket. |
Example Request Body
{
"formData": {
"name": "Jane Smith",
"email": "jane.smith@acme.com",
"summary": "Laptop not powering on",
"description": "Device SN C02XK1ABCDEF will not boot after OS update."
}
}Response
| Field | Type | Description |
|---|---|---|
| success | boolean | Whether the request succeeded. |
| message | string | Human-readable confirmation. |
| ticket_number | string | Human-readable ticket number. |
| ticket_id | string | Ticket ID. |
Related Endpoints
Did this page help you?
Request
curl -X POST https://uat.unduit.com/api-exposed/api/v1/tickets/create \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"formData": {
"name": "Jane Smith",
"email": "jane.smith@acme.com",
"summary": "Laptop not powering on",
"description": "Device SN C02XK1ABCDEF will not boot after OS update."
}
}'Success Response
{
"success": true,
"message": "Ticket submitted successfully",
"ticket_number": "10043",
"ticket_id": "674a1b2c3d4e5f6789012345"
}