# Open a support ticket

Open a support ticket with us: a subject and a body, both required, and nothing else — status and priority are ours to set, because a raiser who can choose 'urgent' chooses it every time. ANY SEAT on purpose: the member whose board will not load is the person who saw it. A workspace with an assigned representative has the ticket start with that person's name on it.

Access class: `workspace`.

## Endpoint

`POST /v1/workspace/support/tickets`

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "body": "string",
    "subject": "string"
  },
  "params": {},
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "assigned": true,
    "body": "string",
    "createdAt": "string",
    "id": 1.5,
    "openedByAccountId": "",
    "openedByEmail": "string",
    "priority": "string",
    "status": "string",
    "subject": "string",
    "tenantId": 1.5,
    "updatedAt": "string"
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
