Base URL
Which host to send API requests to while api.convt.app is not live.
| Host | Status |
|---|---|
https://convt-api-production.up.railway.app |
Live. Use this now. |
https://api.convt.app |
Planned. Its DNS record does not exist yet. |
Every example on this site uses the live host. When api.convt.app starts resolving, this page and the examples will switch to it, and the Railway host will keep working during the move. Paths, keys, request bodies and responses are the same on both.
Keep the host in one setting so the change is a one-line edit:
export CONVT_API=https://convt-api-production.up.railway.app
All routes are versioned under /v1. GET /health returns ok and needs no key, which makes it a cheap connectivity check:
curl https://convt-api-production.up.railway.app/health