Developer API

Register and apply to get the API key.

1. Register Event

https://api.dbook.co.in/register-event POST
Request axios
{
    headers  : {
        'dbkey' : <API-KEY>
    },
    data: {
        'eventId' : 'xar092wa',
        'eventName' : 'Event Name',
        'eventStartingDate' : 'YYYY-MM-DD'
        'eventStartingTime' : 'HH:MM:SS',
        'eventEndingDate' : 'YYYY-MM-DD'
        'eventEndingTime' : 'HH:MM:SS'
    }
}
Response
{
    'message' : 'Event Created',
    'eventId' : 'xar092wa'
}

2. Get QR Code

https://api.dbook.co.in/get-qr POST
Request axios
{
    headers  : {
        'dbkey' : <API-KEY>
    },
    data: {
        eventId : 'xavxxi',
        name : 'Name of the attendee', // optional
        email : 'Email ID of the attendee' // optional
        phone : 'Phone number of the attendee' // optional
        amount : 'amount', // optional
        transactionId : 'transaction id from the payment gateway'  // optional
    }
}
Response
{
    'message' : 'Qr code generated',
    'dataUrl' : 'dataurl of the qrcode'
}
Loading Please Wait ...