Getting Started
Make your first request to the Level365 API in a few minutes.
The Level365 API is a REST API for managing everything on the Level365 cloud communications platform: domains, users, devices, phone numbers, call routing, messaging, call history, and more. Requests and responses use JSON, and every request is made over HTTPS.
Base URL
All endpoints are relative to:
https://api.365sip.com/ns-api/v2For example, the full URL for GET /version is https://api.365sip.com/ns-api/v2/version.
Step 1: Check connectivity
GET /version doesn't require authentication, so it's a quick way to confirm you can reach the API.
curl https://api.365sip.com/ns-api/v2/versionconst res = await fetch("https://api.365sip.com/ns-api/v2/version");
console.log(await res.json());import requests
res = requests.get("https://api.365sip.com/ns-api/v2/version")
print(res.json())The response includes the API version, the server you connected to, and the server's current time:
{
"apiversion": "45.1.2",
"hostname": "ind-core4.365sip.com",
"current-time": "2026-11-19 16:14:41"
}Step 2: Make an authenticated request
Every other endpoint requires authentication. The simplest way to start is with an API key: there's no sign-in step, so you can send it straight away as a bearer token.
The ~ shorthand stands for "the domain my API key belongs to", so this request returns your own domain's details:
curl https://api.365sip.com/ns-api/v2/domains/~ \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch("https://api.365sip.com/ns-api/v2/domains/~", {
headers: { Authorization: `Bearer ${process.env.LEVEL365_API_KEY}` },
});
console.log(await res.json());import os
import requests
res = requests.get(
"https://api.365sip.com/ns-api/v2/domains/~",
headers={"Authorization": f"Bearer {os.environ['LEVEL365_API_KEY']}"},
)
print(res.json())You can use ~ in place of the domain in any path. If your API key is tied to a specific user, ~ works in place of the user too, for example GET /domains/~/users/~.
To check what your key is allowed to do, call GET /apikeys/~. It returns the key's scope and any restrictions on it.
Don't have an API key?API keys are issued by Level365. See Requesting API Access to request one, and keep it on your server; never put it in browser or mobile app code. If you're building an app where people sign in as themselves, use a JWT or OAuth2 access token instead. See Authentication to choose the right method.
Key concepts
The platform is organized as a hierarchy, and most endpoint paths follow it:
| Level | What it is | Example path |
|---|---|---|
| Reseller | A partner or organization that owns one or more domains | /resellers/{reseller} |
| Domain | A single customer or tenant, with its own users, numbers, and settings | /domains/{domain} |
| Site | An optional grouping of users within a domain, such as an office location | /domains/{domain}/sites/{site} |
| User | An extension or subscriber within a domain | /domains/{domain}/users/{user} |
| Device | A phone or softphone registered to a user | /domains/{domain}/users/{user}/devices/{device} |
A user is identified across the platform by a UID in the form user@domain, for example 1001@yourdomain.
What you can see and change depends on your user scope, such as Basic User, Office Manager, Reseller, or Super User. See User scopes for details.
Creating and updating resources
Many create and update endpoints accept an optional synchronous field:
"synchronous": "no"(default): the API responds right away with202 Accepted. Treat this as success; the change is processed and replicated in the background."synchronous": "yes": the API waits until the change has been written, then responds200 OKwith the new resource in the body. This is a little slower.
Use "yes" when you need the created resource in the response, or need to read it back immediately.
Next steps
Updated 11 days ago
