curl
curl -X POST 'https://api.velan.app/v1/developer/tickets/TDSO98/check-in' \
-H 'Authorization: Bearer $VELAN_KEY'import requests
url = "https://api.velan.app/v1/developer/tickets/{ticket_code}/check-in"
payload = {
"product_code": "<string>",
"dry_run": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({product_code: '<string>', dry_run: false})
};
fetch('https://api.velan.app/v1/developer/tickets/{ticket_code}/check-in', 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/tickets/{ticket_code}/check-in",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'product_code' => '<string>',
'dry_run' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.velan.app/v1/developer/tickets/{ticket_code}/check-in"
payload := strings.NewReader("{\n \"product_code\": \"<string>\",\n \"dry_run\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.velan.app/v1/developer/tickets/{ticket_code}/check-in")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"product_code\": \"<string>\",\n \"dry_run\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.velan.app/v1/developer/tickets/{ticket_code}/check-in")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"product_code\": \"<string>\",\n \"dry_run\": false\n}"
response = http.request(request)
puts response.read_body{
"data": {
"already": false,
"checked_in": true,
"message": "Presença confirmada.",
"result": "ok",
"ticket": {
"attendee": {
"email": "maria@exemplo.com",
"name": "Maria Lima"
},
"checked_in_at": "2026-11-22T03:14:42.093911+00:00",
"code": "bbd7ff1f-5fde-483b-b151-33850234aa23",
"event": {
"name": "Show de Verão",
"product_code": "106ad682-b5d1-4422-8c41-fa8fb5229791"
},
"id": 1,
"lot": {
"id": 1,
"name": "Inteira"
},
"short_code": "TDSO98",
"status": "checked_in"
}
}
}{
"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": "conflict",
"message": "Idempotency-Key já usada com outra requisição. Gere uma chave nova para uma operação nova."
}
}{
"error": {
"type": "unprocessable",
"message": "Descreva o motivo com pelo menos 5 caracteres."
}
}{
"error": {
"type": "rate_limited",
"message": "Limite de 30 alterações por minuto atingido."
}
}Eventos
Fazer o check-in de um ingresso
Confirma a presença pelo código do ingresso: o código curto do QR (por exemplo K7P2QX) ou o UUID. Leia result: ok = presença confirmada agora; already = já tinha entrado (repetir é seguro e não é erro); ingresso pendente ou cancelado é recusado com o motivo em message e checked_in: false. Com "dry_run": true devolve só os dados do ingresso, sem marcar presença. Se o mesmo código existir em mais de um evento, envie product_code.
Permissão: write:events ou write. Idempotency-Key: opcional, recomendado. Prévia: envie "dry_run": true.
POST
/
tickets
/
{ticket_code}
/
check-in
curl
curl -X POST 'https://api.velan.app/v1/developer/tickets/TDSO98/check-in' \
-H 'Authorization: Bearer $VELAN_KEY'import requests
url = "https://api.velan.app/v1/developer/tickets/{ticket_code}/check-in"
payload = {
"product_code": "<string>",
"dry_run": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({product_code: '<string>', dry_run: false})
};
fetch('https://api.velan.app/v1/developer/tickets/{ticket_code}/check-in', 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/tickets/{ticket_code}/check-in",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'product_code' => '<string>',
'dry_run' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.velan.app/v1/developer/tickets/{ticket_code}/check-in"
payload := strings.NewReader("{\n \"product_code\": \"<string>\",\n \"dry_run\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.velan.app/v1/developer/tickets/{ticket_code}/check-in")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"product_code\": \"<string>\",\n \"dry_run\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.velan.app/v1/developer/tickets/{ticket_code}/check-in")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"product_code\": \"<string>\",\n \"dry_run\": false\n}"
response = http.request(request)
puts response.read_body{
"data": {
"already": false,
"checked_in": true,
"message": "Presença confirmada.",
"result": "ok",
"ticket": {
"attendee": {
"email": "maria@exemplo.com",
"name": "Maria Lima"
},
"checked_in_at": "2026-11-22T03:14:42.093911+00:00",
"code": "bbd7ff1f-5fde-483b-b151-33850234aa23",
"event": {
"name": "Show de Verão",
"product_code": "106ad682-b5d1-4422-8c41-fa8fb5229791"
},
"id": 1,
"lot": {
"id": 1,
"name": "Inteira"
},
"short_code": "TDSO98",
"status": "checked_in"
}
}
}{
"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": "conflict",
"message": "Idempotency-Key já usada com outra requisição. Gere uma chave nova para uma operação nova."
}
}{
"error": {
"type": "unprocessable",
"message": "Descreva o motivo com pelo menos 5 caracteres."
}
}{
"error": {
"type": "rate_limited",
"message": "Limite de 30 alterações por minuto atingido."
}
}Authorizations
Headers
Path Parameters
Body
application/json
