Skip to main content
POST
/
tickets
/
{ticketId}
/
unclaim
Unclaim ticket
curl --request POST \
  --url https://api.series.hr/tickets/{ticketId}/unclaim \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "staffUserId": 123
}
'
Requires Premium or Enterprise subscription

Overview

Unclaim a previously claimed ticket. Removes the claim and allows another staff member to claim it. Important Notes:
  • A system message is automatically added when unclaiming
  • The ticket status remains unchanged

Path Parameters

ticketId
string
required
Ticket ID

Request Body

staffUserId
integer
required
UserId of the staff member unclaiming the ticket

Response

success
boolean
Whether the request was successful
data
object

Example

curl -X POST "https://api.series.hr/tickets/TICKET-1234567890-ABCD/unclaim" \
  -H "apikey: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "staffUserId": 987654321
  }'

Response Example

{
  "success": true,
  "data": {
    "message": "Ticket unclaimed successfully"
  }
}

Error Responses

{
  "success": false,
  "error": {
    "code": 400,
    "message": "Ticket is not claimed"
  }
}
{
  "success": false,
  "error": {
    "code": 403,
    "message": "Tickets module requires a Premium or Enterprise subscription"
  }
}
{
  "success": false,
  "error": {
    "code": 404,
    "message": "Ticket not found"
  }
}

Rate Limit

25 requests per second per API key

Authorizations

apikey
string
header
required

Pass your API key in the apikey header. Alternatively, the x-api-key header is also accepted.

Path Parameters

ticketId
string
required

Ticket ID

Body

application/json
staffUserId
integer
required

UserId of the staff member unclaiming the ticket

Response

Ticket unclaimed successfully