Get All Transactions
curl --request GET \
--url https://api.antei.com/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.antei.com/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.antei.com/transactions', 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.antei.com/transactions",
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.antei.com/transactions"
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.antei.com/transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.antei.com/transactions")
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[
{
"id": "<string>",
"transaction_type": "inflow",
"amount": 123,
"currency": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"description": "<string>"
}
]{
"error": "<string>",
"message": "<string>",
"status": 123
}Transactions
Get All Transactions
Retrieve a list of transactions for the authenticated organization. You can optionally filter by transaction type (e.g., inflow, outflow), date range, and entity.
GET
/
transactions
Get All Transactions
curl --request GET \
--url https://api.antei.com/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.antei.com/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.antei.com/transactions', 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.antei.com/transactions",
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.antei.com/transactions"
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.antei.com/transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.antei.com/transactions")
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[
{
"id": "<string>",
"transaction_type": "inflow",
"amount": 123,
"currency": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"description": "<string>"
}
]{
"error": "<string>",
"message": "<string>",
"status": 123
}Returns a paginated list of transactions. This endpoint is useful for analytics, dashboards, and reconciliation processes.
Query Parameters:
type– Filter by transaction type:infloworoutflowstart_date/end_date– Filter by transaction date range (ISO 8601 format)entity_id– Filter transactions belonging to a specific entitylimit– Max number of records to return (default: 50)offset– Pagination offset (default: 0)
Transaction objects, each including line items, tax information, source integration, and associated metadata.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Filter by transaction type: inflow or outflow
Available options:
inflow, outflow Maximum number of transactions to return
Response
List of transactions
Unique identifier for the transaction
Direction of the transaction
Available options:
inflow, outflow Transaction amount
Currency code (e.g., USD, EUR)
Time of transaction
Optional description of the transaction
⌘I