Use the Nexus API to pipe events, manage projects, and pull metrics into your own tools. RESTful and GraphQL endpoints with copy‑pasteable examples.
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | User email address | |
| password | string | Yes | User password |
curl -X POST https://api.nexus.com/v1/auth/login \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "password": "your_password" }'
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "Bearer",
"expires_in": 3600,
"user": {
"id": 123,
"email": "user@example.com",
"name": "John Doe"
}
}
| Parameter | Type | Required | Description |
|---|---|---|---|
| page | integer | No | Page number (default: 1) |
| limit | integer | No | Items per page (default: 20, max: 100) |
| search | string | No | Search by name or email |
const response = await fetch('https://api.nexus.com/v1/users?page=1&limit=20', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json' } }); const data = await response.json();
import requests headers = { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json' } data = { 'name': 'My Project', 'description': 'Project description', 'team_id': 123 } response = requests.post( 'https://api.nexus.com/v1/projects', headers=headers, json=data ) print(response.json())
Check out our guides or contact our developer support team