Create ticket
Tickets
Create Ticket
Create a new support ticket
POST
Create ticket
Overview
Create a new support ticket. The author does not need to be a workspace member unless the category requires it. Author Information:authorUserIdis requiredauthorAvatarUrlis requiredauthorUsernameandauthorDisplayNameare optional but recommended for users not in the database
Request Body
Ticket subject/title
Category ID (must exist in workspace configuration)
Initial message content
Ticket priority:
low, medium, high, urgent (default: medium)UserId of the ticket creator
Username of the author (used if not in database)
Display name of the author (used if not in database)
Avatar URL of the ticket author
Response
Whether the request was successful
Example
Response Example
Error Responses
400 - Validation Error
400 - Validation Error
400 - Missing authorAvatarUrl
400 - Missing authorAvatarUrl
403 - Premium Required
403 - Premium Required
403 - Module Not Enabled
403 - Module Not Enabled
403 - Membership Required
403 - Membership Required
400 - Max Tickets Reached
400 - Max Tickets Reached
Rate Limit
25 requests per second per API keyAuthorizations
Pass your API key in the apikey header. Alternatively, the x-api-key header is also accepted.
Body
application/json
Ticket subject
Category ID
Initial message content
UserId of the ticket creator
Avatar URL of the ticket author
Available options:
low, medium, high, urgent Username of the author
Display name of the author
Response
Ticket created successfully

