cURL
curl --request POST \ --url https://api.revenda.nexus/users \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "username": "<string>", "password": "<string>", "is_master": 123, "credits": "<string>", "whatsapp": "<string>", "telegram": "<string>", "language": "<string>", "country": "<string>", "email": "<string>", "notes": "<string>" } '
{ "id": 136, "username": "", "password": "", "is_master": 0, "credits": "10", "country": "Brasil", "whatsapp": "12312312312", "telegram": null, "master": 80, "recharge": "1/16/2025, 12:32:13 PM", "status": 1, "is_admin": 0, "language": "pt", "createdAt": "2025-01-16T15:32:13.611Z", "updatedAt": "2025-01-16T15:32:13.611Z", "token": null, "notes": null, "trash": 0, "active_tree": 0, "block_reseller": 0 }
Este endpoint permite criar um novo revendedor na plataforma Nexus.
POST https://api.revenda.nexus/users Headers: { "Authorization": "Bearer seu_token_aqui", "Content-Type": "application/json" } Payload: { "username": "username-definido", "password": "password-definido", "is_master": 1, "credits": "12312", "whatsapp": "12312312312", "telegram": "zeca", "language": "pt", "country": "Brasil", "email": "[email protected]", "notes": "" }
Show Mostrar objeto