1-877-548-3001 Sign in About Contact
Developer

POST

/api/ticket/{id}/tag

Tag a ticket

Scope:

operator

Request Parameters

Path

2

id

required

The id of the ticket to be tagged

Query

2

tag_id

required

The tag id to associate to the ticket

A

action

required

The action to take on the tag, either "add" or "delete"

Response

Schema

{}

A

message

The response message

A

status

The system response status. Will be ok or error

curl

example request

1

curl -X POST -d '{"tag_id":1634,"action":"add"}'

2

-H "Content-Type: application/json"

3

-H "Authorization: Bearer {{Oauth Token}}"

4

https://developer.livehelpnow.net/api/ticket/{{1234567}}/tag

example response

      
        

1

 {

2

   "message"

: "Ticket tag created",

3

   "status"

: "ok"

4

 }