Skip to main content
POST
/
api
/
public
/
ticket
/
close
/
contact
/
{contactId}
Close a ticket
curl --request POST \
  --url https://api.vambe.me/api/public/ticket/close/contact/{contactId} \
  --header 'x-api-key: <x-api-key>'
const options = {method: 'POST', headers: {'x-api-key': '<x-api-key>'}};

fetch('https://api.vambe.me/api/public/ticket/close/contact/{contactId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.vambe.me/api/public/ticket/close/contact/{contactId}"

headers = {"x-api-key": "<x-api-key>"}

response = requests.post(url, headers=headers)

print(response.text)

Headers

x-api-key
string
required

API key needed to authorize the request

Path Parameters

contactId
string
required

Query Parameters

status
enum<string>
required
Available options:
won,
lost

Response

200

Ticket closed successfully