Skip to content

Create a support ticket

POST
/v1/support/tickets
curl --request POST \
--url https://shareout.site/v1/support/tickets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "subject": "example", "body": "example", "workspaceId": "example" }'
Media type application/json
object
subject
required
string
body
required
string
workspaceId
string
nullable
Example generated
{
"subject": "example",
"body": "example",
"workspaceId": "example"
}

Created

Media type application/json
object
success
boolean
ticket
object
id
string
subject
string
status
string
Allowed values: open pending resolved closed
channel
string
Allowed values: ui skill email telegram slack
workspace_id
string
nullable
requester_user_id
string
nullable
requester_email
string format: email
nullable
priority
string
nullable
created_at
string format: date-time
updated_at
string format: date-time
Example
{
"ticket": {
"status": "open",
"channel": "ui"
}
}

Invalid request

Media type application/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
Example
{
"success": false
}