POST
/
v1
/
tickets
/
type
Create a new custom ticket type
curl --request POST \
  --url http://localhost:8000/v1/tickets/type \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "color": "#000000",
  "icon": "<string>",
  "autoAssign": true,
  "isActive": true,
  "name": "Bug",
  "teamId": "team_123"
}'
{
  "status": true,
  "message": "Success",
  "timestamp": "2024-01-01T00:00:00.000Z",
  "data": {
    "id": "<string>",
    "name": "<string>",
    "color": "<string>",
    "icon": "<string>",
    "isActive": true,
    "teamId": "<string>",
    "organizationId": "<string>",
    "autoAssign": true
  }
}

Authorizations

Authorization
string
header
required

Enter the bearer token

Body

application/json

Response

201
application/json

Operation successful

The response is of type object.