cURL
curl --request POST \ --url https://api-new.paineloffice.click/iptv \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "isTrial": true, "screen": 123, "packageId": 123, "whatsapp": "<string>", "notes": "<string>" } '
{ "success": true, "message": "<string>", "data": { "id": 123, "username": "<string>", "max_connections": 123, "status": "<string>", "expires_at": "<string>", "connection_url": "<string>", "m3u_url": "<string>" } }
Cria um teste IPTV gratuito
POST /iptv Authorization: Bearer <token>
Show properties
{ "isTrial": true, "notes": "teste-auto", "packageId": 24, "screen": 1, "whatsapp": "" }
{ "message": "Teste IPTV criado com sucesso", "data": { "id": 1002, "username": "teste_iptv_001", "max_connections": 1, "status": "trial", "expires_at": "2024-01-20T10:30:00Z", "connection_url": "http://servidor.iptv.com:8080", "m3u_url": "http://servidor.iptv.com:8080/get.php?username=teste_iptv_001&password=70774455&type=m3u_plus" } }