curl
curl 'https://api.velan.app/v1/developer/events/106ad682-b5d1-4422-8c41-fa8fb5229791/tickets?limit=50&status=issued' \
-H 'Authorization: Bearer $VELAN_KEY'import requests
url = "https://api.velan.app/v1/developer/events/{product_code}/tickets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.velan.app/v1/developer/events/{product_code}/tickets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.velan.app/v1/developer/events/{product_code}/tickets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.velan.app/v1/developer/events/{product_code}/tickets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.velan.app/v1/developer/events/{product_code}/tickets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.velan.app/v1/developer/events/{product_code}/tickets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"attendance": {
"by_lot": [
{
"cancelled": 0,
"checked_in": 0,
"lot_id": 1,
"name": "Inteira",
"not_checked_in": 1,
"pending": 0
}
],
"cancelled": 0,
"checked_in": 0,
"checkin_rate": 0,
"not_checked_in": 1,
"pending": 0,
"valid_tickets": 1
},
"capacity": null,
"city": null,
"ends_at": null,
"event_url": "https://pay.velan.app/event/jxb7x34h",
"format": "in_person",
"offset": 0,
"product": {
"code": "106ad682-b5d1-4422-8c41-fa8fb5229791",
"is_active": true,
"name": "Show de Verão"
},
"starts_at": "2026-12-22T03:14:41.523777+00:00",
"tickets": [
{
"attendee": {
"email": "maria@exemplo.com",
"name": "Maria Lima"
},
"buyer": {
"email": "joao@exemplo.com",
"name": "João Silva"
},
"cancelled_at": null,
"checked_in_at": null,
"code": "bbd7ff1f-5fde-483b-b151-33850234aa23",
"id": 1,
"issued_at": null,
"lot": {
"id": 1,
"name": "Inteira"
},
"order_code": "d4c5d8e3-e552-4cc7-843f-d3ad99e369a4",
"order_status": "paid",
"short_code": "TDSO98",
"status": "issued",
"ticket_url": "https://pay.velan.app/event/ingresso/bbd7ff1f-5fde-483b-b151-33850234aa23",
"unit_price": "100.00"
}
],
"total": 1,
"venue_name": null
}
}{
"error": {
"type": "validation_error",
"message": "Campos não aceitos nesta rota.",
"fields": {
"confirmm": "Campo desconhecido."
}
}
}{
"error": {
"type": "authentication_error",
"message": "Envie Authorization: Bearer <chave de API>."
}
}{
"error": {
"type": "permission_error",
"message": "Esta chave não tem permissão de escrita em 'webhooks'. Crie uma chave com essa permissão."
}
}{
"error": {
"type": "not_found",
"message": "Assinatura não encontrada."
}
}{
"error": {
"type": "rate_limited",
"message": "Limite de 30 alterações por minuto atingido."
}
}Eventos
Ingressos de um evento
Ingressos de um evento, mais recentes primeiro: código curto, lote, status (pending = pedido aguardando pagamento, issued = emitido, checked_in = presença confirmada, cancelled), participante, comprador, pedido e link do ingresso. attendance traz a presença por lote e a taxa de check-in. Filtros: status e lot_id.
Permissão: leitura (qualquer chave).
GET
/
events
/
{product_code}
/
tickets
curl
curl 'https://api.velan.app/v1/developer/events/106ad682-b5d1-4422-8c41-fa8fb5229791/tickets?limit=50&status=issued' \
-H 'Authorization: Bearer $VELAN_KEY'import requests
url = "https://api.velan.app/v1/developer/events/{product_code}/tickets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.velan.app/v1/developer/events/{product_code}/tickets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.velan.app/v1/developer/events/{product_code}/tickets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.velan.app/v1/developer/events/{product_code}/tickets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.velan.app/v1/developer/events/{product_code}/tickets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.velan.app/v1/developer/events/{product_code}/tickets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"attendance": {
"by_lot": [
{
"cancelled": 0,
"checked_in": 0,
"lot_id": 1,
"name": "Inteira",
"not_checked_in": 1,
"pending": 0
}
],
"cancelled": 0,
"checked_in": 0,
"checkin_rate": 0,
"not_checked_in": 1,
"pending": 0,
"valid_tickets": 1
},
"capacity": null,
"city": null,
"ends_at": null,
"event_url": "https://pay.velan.app/event/jxb7x34h",
"format": "in_person",
"offset": 0,
"product": {
"code": "106ad682-b5d1-4422-8c41-fa8fb5229791",
"is_active": true,
"name": "Show de Verão"
},
"starts_at": "2026-12-22T03:14:41.523777+00:00",
"tickets": [
{
"attendee": {
"email": "maria@exemplo.com",
"name": "Maria Lima"
},
"buyer": {
"email": "joao@exemplo.com",
"name": "João Silva"
},
"cancelled_at": null,
"checked_in_at": null,
"code": "bbd7ff1f-5fde-483b-b151-33850234aa23",
"id": 1,
"issued_at": null,
"lot": {
"id": 1,
"name": "Inteira"
},
"order_code": "d4c5d8e3-e552-4cc7-843f-d3ad99e369a4",
"order_status": "paid",
"short_code": "TDSO98",
"status": "issued",
"ticket_url": "https://pay.velan.app/event/ingresso/bbd7ff1f-5fde-483b-b151-33850234aa23",
"unit_price": "100.00"
}
],
"total": 1,
"venue_name": null
}
}{
"error": {
"type": "validation_error",
"message": "Campos não aceitos nesta rota.",
"fields": {
"confirmm": "Campo desconhecido."
}
}
}{
"error": {
"type": "authentication_error",
"message": "Envie Authorization: Bearer <chave de API>."
}
}{
"error": {
"type": "permission_error",
"message": "Esta chave não tem permissão de escrita em 'webhooks'. Crie uma chave com essa permissão."
}
}{
"error": {
"type": "not_found",
"message": "Assinatura não encontrada."
}
}{
"error": {
"type": "rate_limited",
"message": "Limite de 30 alterações por minuto atingido."
}
}