API referenceTickets
Create Ticket
POST
Required scope: tickets:write
header
AuthorizationBearer <luso8_sk_live_<40 characters>>A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.
application/json- body
title*TitleLength
1 <= length <= 500description?string|nullstatus?StatusDefault
"open"Value in
"open""pending""in_progress""resolved""closed"priority?PriorityDefault
"normal"Value in
"low""normal""high""urgent"category?|nullsubcategory?|nulltags?array<string>|nullassigned_to?string|nullcontact_id?string|nulldue_at?|nullconversation_id?string|nullsupport_conversation_id?string|nullSuccessful Response
application/json- response
id*Idorganization_id*Organization Idticket_number?integer|nullcontact_id?string|nullcontact_name?string|nulltitle*Titledescription?string|nullstatus*Statuspriority*Prioritycategory?string|nullsubcategory?string|nulltags?array<string>|nullchannel?string|nulldue_at?|nullresolution?string|nullresolution_time?number|nullassigned_to?string|nullassignee_name?string|nullcreated_by?string|nullcreator_name?string|nullcreated_at?|nullupdated_at?|nullresolved_at?|nullsupport_conversation_id?string|nullconversation_ids?array<string>conversations?array<>comment_count?Comment CountDefault
0curl -X POST 'https://api.luso8.rexplore.ai/api/v1/tickets' \ -H 'Content-Type: application/json' \ -d '{ "title": "string"}'Example Response
{ "id": "string", "organization_id": "string", "ticket_number": 0, "contact_id": "string", "contact_name": "string", "title": "string", "description": "string", "status": "string", "priority": "string", "category": "string", "subcategory": "string", "tags": [ "string" ], "channel": "string", "due_at": "2019-08-24T14:15:22Z", "resolution": "string", "resolution_time": 0, "assigned_to": "string", "assignee_name": "string", "created_by": "string", "creator_name": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "resolved_at": "2019-08-24T14:15:22Z", "support_conversation_id": "string", "conversation_ids": [ "string" ], "conversations": [ { "id": "string", "channel": "string", "subject": "string", "status": "string", "contact_id": "string", "last_message_at": "2019-08-24T14:15:22Z", "last_message_preview": "string", "attached_at": "2019-08-24T14:15:22Z" } ], "comment_count": 0}