Skip to main content

Find one

const Confetti = require('confetti')

const confetti = new Confetti({ apiKey: 'your-key' })
const ticket = await confetti.webhooks.find(2)
Result
{
"type": "ticket.attending",
"url": "http://foo.com/bar",
"provider": "zapier",
"status": "active",
"createdAt": "2020-02-29T15:12:12.435Z",
"updatedAt": "2020-02-29T15:12:12.435Z",
"id": "1"
}