Skip to main content
GET
/
apps
/
{appId}
/
events
List Events
curl --request GET \
  --url https://api.vela.dev/v1/apps/{appId}/events \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.vela.dev/v1/apps/{appId}/events"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.vela.dev/v1/apps/{appId}/events', 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.vela.dev/v1/apps/{appId}/events",
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.vela.dev/v1/apps/{appId}/events"

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.vela.dev/v1/apps/{appId}/events")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.vela.dev/v1/apps/{appId}/events")

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
{
  "items": [
    {
      "id": "evt-uuid",
      "appId": "app-uuid",
      "event": "payment.failed",
      "customer_id": "cust_42",
      "data": {
        "orderId": "ord_1",
        "reason": "card_declined"
      },
      "level": "error",
      "metadata": {
        "env": "production"
      },
      "timestamp": "2024-06-01T12:00:00.000Z",
      "ingestedAt": "2024-06-01T12:00:00.123Z"
    }
  ],
  "nextCursor": "eyJpZCI6ImV2dC11dWlkIn0="
}

Authorizations

Authorization
string
header
required

Client secret for management API access. Format: vela_cs_...

Path Parameters

appId
string
required

App UUID or slug

Query Parameters

level
enum<string>

Filter by level

Available options:
info,
warning,
error,
success
type
string

Filter by event name

from
string<date-time>

Start of time range (ISO-8601)

to
string<date-time>

End of time range (ISO-8601)

limit
integer
default:25

Results per page (max 100)

Required range: x <= 100
cursor
string

Pagination cursor from previous response

Response

200 - application/json

Paginated events

items
object[]
nextCursor
string | null

Cursor for the next page. null when there are no more pages.