cURL
curl --request POST \ --url https://api-new.paineloffice.click/red-club \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "enabled": true, "months": "<string>", "notes": "<string>", "password": "<string>", "sale_value": 123, "trial": true, "username": "<string>", "whatsapp": 123 } '
{ "success": true, "message": "<string>", "data": { "id": 123, "username": "<string>", "email": "<string>", "phone": "<string>", "status": "<string>", "profile_type": "<string>", "expires_at": "<string>", "access_url": "<string>", "member_id": "<string>" } }
Cria usuário RedClub
POST /red-club Authorization: Bearer <token>
{ "email": "[email protected]", "enabled": true, "months": "0.5", "notes": "teste", "password": "543564532", "sale_value": 0, "trial": false, "username": "797om721012", "whatsapp": 5511111111111 }
Show properties
{ "message": "Usuário RedClub criado com sucesso", "data": { "id": 4001, "username": "usuario_redclub_001", "email": "[email protected]", "phone": "+5511999999999", "status": "active", "profile_type": "premium", "expires_at": "2024-02-15T10:30:00Z", "access_url": "https://redclub.servidor.com/portal", "member_id": "RC_4001_PREMIUM" } }