Integrate

HTTP API

Reference for routes implemented in tilcai-infrastructure. Availability depends on your instance environment and enabled modules.

Authentication

Authorization: Bearer YOUR_KEY. Tenant keys isolate resources and scopes. Vault, monitor and relayer status are operator routes. /health and /ready are public; the relayer webhook uses its own signature.

Terminal · GET
curl "$TILCAI_API_URL/v1/routes" \
  -H "Authorization: Bearer $TILCAI_API_KEY"

Resource routes

API v1
MethodPathRequirement
GET/healthNo Bearer · liveness: 200 while the process runs
GET/ready · ?mode=transactionalNo Bearer · readiness: 200 or 503 with each check
GET/v1/routespayments
POST/v1/crosschain/quotespayments
POST/v1/crosschain/paymentspayments · Idempotency-Key
GET/v1/crosschain/payments/:idpayments
POST/v1/crosschain/payments/:id/authorizationpayments
POST/v1/crosschain/payments/:id/burnpayments
POST/v1/crosschain/payments/:id/reconcilepayments
POST / GET/v1/accountsaccounts:write / accounts:read
GET/v1/accounts/:idaccounts:read
GET / POST/v1/vault / /v1/vault/disbursementsOperator
GET/v1/monitor/events · /stream · /resourcesOperator · /v1/monitor prefix

Liveness and readiness

/health answers 200 while the process runs, even with the relayer down, so the platform does not restart the container over an external dependency. /ready says whether the instance can do what its mode promises. Read-only requires the database. Transactional mode also requires a relayer that answers and accepts the key, and every relayer the instance uses on its expected network and type, unpaused and with a signer; plus the Stellar submitter and, in all-in-one, a worker with recent rounds. Each answer lists its checks without secrets and is reused for 5 s. ?mode=transactional runs those checks on a mainnet instance that is still read-only: the step before enabling transactions. It does not verify on-chain roles.

Quote request shape

POST /v1/crosschain/quotes
{
  "sourceNetwork": "eip155:10143",
  "destinationNetwork": "stellar:testnet",
  "amount": "1.25",
  "payTo": "REPLACE_WITH_VALID_STELLAR_ADDRESS"
}

The example recipient is a placeholder. Replace it with a valid address. Amount is a decimal USDC string; atomic units are managed by the infrastructure.

Idempotency and responses

Use a stable Idempotency-Key for each logical operation: 8–128 alphanumeric, hyphen or underscore characters. Domain errors include error.code, message and recovery; the API may add detail. Query the same paymentId after a timeout.

Schemas and routes in source · Account routes

Availability depends on your instance. Check /health and /v1/routes before integrating.

TilcAI Docs · 20 Oct 2026Sources and versions ↗