LonexOne API
What the LonexOne API is, and your first request in a few minutes.
The LonexOne API lets your own tools work with your community: Discord bots, in-game scripts, websites and spreadsheets. Read your roster and CAD records, put calls into dispatch, and have LonexOne tell your server when things happen.
Quick start
- In the LonexOne panel, open Developer API (in the Core section; owners have it, and you can give it to a role).
- Make a key and tick what it can do. For this example, tick
community.read. Copy the key: it's shown once. - Ask the API which community the key belongs to:
curl https://api.lonexone.com/v1/community \ -H "Authorization: Bearer lxk_your_key"
{
"data": {
"id": 12,
"name": "Sunnyside RP",
"slug": "sunnyside",
"url": "https://sunnyside.lonexone.com",
"modules": [
"community",
"departments",
"cad"
],
"key": {
"name": "Discord bot",
"scopes": [
"community.read",
"cad.read"
]
}
}
}
That's it. Every request works the same way: send the key, get JSON back.
The basics
- Base address:
https://api.lonexone.com/v1 - Format: JSON in and out. Send
Content-Type: application/jsonwith request bodies. - One key, one community: a key only ever sees the community it was made in.
- Lists come in pages of 50 by default. See paging.
- Times are ISO 8601 with a time zone, like
2026-11-08T20:01:00+00:00.
Where next
Authentication
API keys, permissions, errors, rate limits and paging.
API reference
Every v1 endpoint, with parameters and example responses.
Webhooks
Get events pushed to your server, and check they really came from LonexOne.
Moving from LonexCAD
Point a LonexCAD, LonexStaff or store integration at LonexOne.
Getting help
Stuck, or need an endpoint that isn't here yet? Ask in the LonexLabs Discord. We add to the API based on what people build.