cURL
curl --request PATCH \ --url https://api.revenda.nexus/lines/active/{id} \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "username": "<string>", "password": "<string>", "credits": 123, "whatsapp": "<string>", "country": "<string>", "notes": "<string>" } '
{ "id": 505, "username": "123456", "password": "123456", "owner": 80, "expDate": "2025-02-15T14:27:08.832Z", "notes": "Ativação oficial", "status": 1, "isTrial": 0, "whatsapp": "(12) 3 1231-2312", "telegram": null, "trash": 0, "country": "Brasil", "error_nexus": 0, "idNexus": 8448, "updated": 0, "migrationUrl": null, "lastTrust": null, "email": null, "createdAt": "2025-01-16T13:42:30.047Z", "updatedAt": "2025-01-16T13:42:30.047Z" }
Este endpoint permite ativar um cliente de teste, tornando-o um usuário oficial na plataforma Nexus.
PATCH https://api.revenda.nexus/lines/active/505 Headers: { "Authorization": "Bearer seu_token_aqui", "Content-Type": "application/json" } Payload: { "username": "123456", "password": "123456", "credits": 1, "whatsapp": "(12) 3 1231-2312", "country": "Brasil", "notes": "Ativação oficial" }
Show Mostrar objeto