---
title: "Update a ticket's priority"
url: https://docs.corefinity.com/api/reference/support/update-support-ticket-priority
type: endpoint
last_updated: 2026-11-13
feature: support
related:
  - https://docs.corefinity.com/guides/support/raise-and-follow-a-ticket.md
---
# Update a ticket's priority

Changes the priority and answers the ticket as the list shows it; the change is emailed to everyone following
the ticket, and sending the priority it already has changes nothing. Raising it to `emergency` pages
Corefinity's on-call engineers instead, and is refused unless `confirm_emergency` is `true`.

```http
PATCH /api/support/tickets/{ticket}/priority
```

- Scope: `write`
- Rate limit: 60 a minute
- Try it in the console: off. It sends email to real people. Copy the request and run it yourself when you are sure.

## Path parameters

- `ticket` (integer, required): The number of a ticket. Digits only.

## Body

- `confirm_emergency` (boolean): `true` for `emergency`, once you agree to what the `emergency_notice` of the ticket choices says.
- `priority` (string, required) One of `emergency`, `high`, `medium`, `low`.

## Request

### curl

```bash
curl -X PATCH https://manage.corefinity.com/api/support/tickets/48210/priority \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "priority": "low"
  }'
```

### PHP

```php
use Illuminate\Support\Facades\Http;

$response = Http::withToken(env('COREFINITY_TOKEN'))
    ->acceptJson()
    ->patch('https://manage.corefinity.com/api/support/tickets/48210/priority', [
        'priority' => 'low',
    ]);

$data = $response->json();
```

### Node

```javascript
const res = await fetch('https://manage.corefinity.com/api/support/tickets/48210/priority', {
  method: 'PATCH',
  headers: {
    Authorization: `Bearer ${process.env.COREFINITY_TOKEN}`,
    Accept: 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    priority: 'low',
  }),
});

// An answer with no body (204) has nothing to parse.
const text = await res.text();
const data = text && JSON.parse(text);
```

### Python

```python
import os
import requests

res = requests.patch(
    "https://manage.corefinity.com/api/support/tickets/48210/priority",
    headers={
        "Authorization": f"Bearer {os.environ['COREFINITY_TOKEN']}",
        "Accept": "application/json",
    },
    json={
        "priority": "low",
    },
)

data = res.json() if res.content else None
```

## Responses

### 200 The ticket with its new priority.

```json
{
  "company": {
    "id": 1204,
    "name": "Harbour & Finch"
  },
  "created_at": "2026-11-02T08:14:03Z",
  "department": {
    "id": 21,
    "name": "Support"
  },
  "environment": {
    "id": 1311,
    "name": "Production"
  },
  "environments": [
    {
      "id": 1311,
      "name": "Production"
    }
  ],
  "id": 48210,
  "priority": "low",
  "priority_label": "Low",
  "requester": {
    "email": "eleanor.finch@harbourandfinch.example.com",
    "id": 2041,
    "name": "Eleanor Finch"
  },
  "scheduled_for": null,
  "status": "waiting_on_customer",
  "status_label": "Waiting on customer",
  "subject": "Checkout returns a 502",
  "updated_at": "2026-11-03T16:40:11Z",
  "url": "https://manage.corefinity.com/resources/tickets/48210",
  "website": {
    "id": 1310,
    "name": "Harbour & Finch trade"
  },
  "websites": [
    {
      "id": 1310,
      "name": "Harbour & Finch trade"
    }
  ]
}
```

### 401 No token, or a token that is not valid.

```json
{
  "message": "Unauthenticated."
}
```

### 403 The token lacks the `write` scope (`scope_required`).

```json
{
  "code": "scope_required",
  "message": "This access token does not have the destructive scope this needs. Use a token with the destructive scope.",
  "reason": "scope_required",
  "scope": "destructive"
}
```

### 404 The ticket does not exist, is not one you can see, or is one you can read but not change, such as a ticket you follow from another company. All answer the same body.

```json
{
  "message": "Not found."
}
```

### 422 `priority` is missing or not one of the four (`invalid`), or it is `emergency` without `confirm_emergency` (`confirm`). Nothing was changed.

```json
{
  "code": "confirm",
  "errors": {
    "confirm_emergency": [
      "Confirm the Emergency: it pages Corefinity's on-call engineers."
    ]
  },
  "message": "An Emergency pages Corefinity's on-call engineers. Send confirm_emergency: true once the person has agreed.",
  "reason": "confirm"
}
```

### 429 Too many requests (`rate_limited`). Wait for the number of seconds in `Retry-After`, which `retry_after_seconds` repeats.

```json
{
  "code": "rate_limited",
  "message": "Too many requests. Try again in 60 seconds.",
  "reason": "rate_limited",
  "retry_after_seconds": 60
}
```

## If it is refused

| Status | Reason | What to do |
|---|---|---|
| 401 |  | Send a valid token as `Authorization: Bearer <token>`. |
| 403 | `scope_required` | Use a token with the scope named in `scope`. |
| 404 |  | Check the id. You see only what your account can reach. |
| 422 | `confirm` | The action needs an explicit confirmation field. Ask the person, then send it. |
| 422 | `invalid` | Fix the field named in `field`; `errors` says why. |
| 429 | `rate_limited` | Wait for the seconds in `Retry-After`. |

## The same task elsewhere

- Guide: [Support tickets](https://docs.corefinity.com/guides/support/raise-and-follow-a-ticket.md)
