cURL
curl --request POST \ --url https://api-new.paineloffice.click/nexus \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "username": "<string>", "password": "<string>", "whatsapp": 123, "notes": "<string>", "email": "<string>", "months": "<string>", "sale_value": 123, "screens": 123, "trial": true } '
{ "success": true, "message": "<string>", "data": { "id": 123, "username": "<string>", "email": "<string>", "status": "<string>", "bandwidth_limit": 123, "expires_at": "<string>", "server_url": "<string>", "access_token": "<string>" } }
Cria um novo usuário Nexus no sistema (trial: false)
POST /nexus Authorization: Bearer <token>
trial: false
{ "email": "", "months": "0.5", "notes": "", "password": "588497601", "sale_value": 0, "screens": 1, "trial": false, "username": "20868876qn7", "whatsapp": "" }
Show properties
{ "message": "Usuário Nexus criado com sucesso", "data": { "id": 3001, "username": "usuario_nexus_001", "email": "[email protected]", "status": "active", "bandwidth_limit": 200, "expires_at": "2024-02-15T10:30:00Z", "server_url": "https://nexus.servidor.com", "access_token": "nexus_token_xyz789abc123" } }