Introduction

Welcome to the Valicit API official documentation.

The Valicit API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.


To get started, you can use axios to make HTTP requests:

const axios = require('axios');
const headers = { 'Api-Key': 'your-api-key' };
axios
.post(
'https://api.valicit.com/api/v1/tickets',
{
name: 'Michael Jameson Concert',
type: 'VIP ticket',
dateStart: '2024-05-01'
imageUrl: 'https://example.com/image.jpg',
user: {
name: 'John Doe',
phoneNumber: '+17951110000'
}
},
{ headers }
)
.then(response => {
// handle response
})
.catch(error => {
// handle error
});

Was this helpful?