API Reference
La API es su vía rápida para integrarse con el sistema: crear líneas oficiales y de prueba, actualizar líneas y gestionar suscripciones con eficiencia. Desde el panel puede obtener su token de API exclusivo para gestionar suscripciones de forma segura, optimizar la experiencia y controlar dinámicamente cada línea. Tanto en pruebas como en producción, la API ofrece una integración cómoda y mantiene el sistema funcionando con fluidez: ajuste configuraciones en tiempo real y simplifique la gestión de suscripciones.
Timezone
All times on this site are in UTC (Greenwich Mean Time).
Get API Token
Log in → Click avatar → Settings → API Key → Copy

API Request
Include your token in the request header for authentication. The token is also used for authorization.
1<?php
2$url = "https://api.example.com/endpoint";
3
4$token = "YOUR_API_TOKEN";
5$headers = [
6 "token: $token",
7 "Content-Type: application/json"
8];
9
10$data = [
11 "params1" => "value1",
12 "params2" => "value2"
13];
14
15$ch = curl_init();
16
17curl_setopt($ch, CURLOPT_URL, $url);
18curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
19curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
20curl_setopt($ch, CURLOPT_POST, true);
21curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
22
23$response = curl_exec($ch);
24
25if (curl_errno($ch)) {
26 echo "cURL Error: " . curl_error($ch);
27} else {
28 echo "Response: " . $response;
29}
30
31curl_close($ch);