Skip to main content
POST
/
tickets
/
{id}
/
labels
/
add
Adding a label
curl --request POST \
  --url https://api.qminder.com/v1/tickets/{id}/labels/add \
  --header 'Content-Type: application/json' \
  --header 'X-Qminder-REST-API-Key: <api-key>' \
  --data '
{
  "value": "<string>",
  "user": 123
}
'
"{\n  \"statusCode\": 200,\n  \"result\": \"success\"\n}"

Authorizations

X-Qminder-REST-API-Key
string
header
default:yourbusinessapikey
required

Path Parameters

id
string
required

The ID of the ticket to add the label to

Body

value
string
required

The text of the label. Up to 50 characters.

user
integer<int32>
required

The ID of the user who added the label.

Response

200 - application/json

200

statusCode
integer
default:0
Example:

200

result
string
Example:

"success"