{"id":5879,"date":"2022-10-12T18:59:54","date_gmt":"2022-10-12T22:59:54","guid":{"rendered":"https:\/\/staging-ftsgpscom.kinsta.cloud\/?post_type=knowledge&#038;p=5723"},"modified":"2025-11-19T12:09:16","modified_gmt":"2025-11-19T17:09:16","slug":"guia-de-inicio-rapido-de-la-api-rest","status":"publish","type":"knowledge","link":"https:\/\/www.ftsgps.com\/es\/support\/rest-api-quick-start-guide\/","title":{"rendered":"Gu\u00eda de inicio r\u00e1pido de la API REST"},"content":{"rendered":"<h2 class=\"wp-block-heading\">Esta gu\u00eda es un breve resumen de c\u00f3mo conectarse y utilizar la API REST con el portal de gesti\u00f3n de flotas IntelliHub.<\/h2>\n\n\n\n<div style=\"height:75px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Visi\u00f3n general<\/h3>\n\n\n\n<p>Los Servicios Web de Forward Thinking Systems ofrecen un m\u00e9todo seguro para que los clientes interact\u00faen con sus datos utilizando Swagger y nuestra API REST. El acceso a los servicios web de FTS no supone ning\u00fan coste adicional para el cliente.<\/p>\n\n\n\n<p>Actualmente, Forward Thinking ofrece dos API REST: una API Intellihub y otra para FleetCam. Algunas de las funciones de la API Intellihub son la posibilidad de modificar la informaci\u00f3n sobre activos o conductores, consultar el historial de ubicaciones, enviar paradas o enviar mensajes. La API de FleetCam permite a los clientes extraer secuencias de eventos, reproducir secuencias hist\u00f3ricas o en directo, descargar v\u00eddeos y mucho m\u00e1s.<\/p>\n\n\n\n<p><strong>Intellihub:<\/strong> <a href=\"https:\/\/rest.ftsgps.com\/intellihubapi\/console\/#\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/rest.ftsgps.com\/intellihubapi\/console\/#\/<\/a><\/p>\n\n\n\n<p><br><strong>FleetCam:<\/strong> <a href=\"https:\/\/rest.fleetcam.io\/videoapi\/console\/#\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/rest.fleetcam.io\/videoapi\/console\/#\/<\/a><\/p>\n\n\n\n<div style=\"height:75px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Credenciales y autenticaci\u00f3n<\/h3>\n\n\n\n<p>El cliente debe solicitar el acceso a la API a Forward Thinking Systems Support (support@ftsgps.com). Al recibir la solicitud, FTS necesitar\u00e1 la siguiente informaci\u00f3n sobre el usuario de la API que se va a crear:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>IP o rango de IPs desde las que su aplicaci\u00f3n se conectar\u00e1 a nuestros servicios (ver m\u00e1s abajo)<\/li>\n\n\n\n<li>A qu\u00e9 API(s) quiere el cliente que tenga acceso el usuario<\/li>\n\n\n\n<li>A qu\u00e9 instalaciones o grupos quiere el cliente que tenga acceso el usuario<\/li>\n<\/ul>\n\n\n\n<p>Los clientes deben utilizar las credenciales proporcionadas para generar un token de autenticaci\u00f3n de portador utilizando la API REST. El token estar\u00e1 activo durante una hora tras su generaci\u00f3n; despu\u00e9s, deber\u00e1 generarse de nuevo para seguir realizando llamadas a la API.<\/p>\n\n\n\n<div style=\"height:75px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Direcciones IP est\u00e1ticas<\/h3>\n\n\n\n<p>Se requiere una IP est\u00e1tica o un rango de IPs para acceder a nuestra API REST, a efectos de la lista de permitidos.  Si utiliza AWS, Azure, OCI o cualquier otro proveedor en la nube, aseg\u00farese de que dispone de una IP est\u00e1tica para el recurso que accede a nuestra API.   AWS, Azure y OCI llaman a este tipo de recurso NAT Gateway.  Otros proveedores pueden tener otro nombre para \u00e9l (por ejemplo, Google lo llama Cloud NAT)<\/p>\n\n\n\n<p>Para m\u00e1s informaci\u00f3n sobre AWS, Azure, OCI:<\/p>\n\n\n\n<p><strong>Amazon AWS <\/strong><br><a href=\"https:\/\/docs.aws.amazon.com\/vpc\/latest\/userguide\/vpc-nat-gateway.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/docs.aws.amazon.com\/vpc\/latest\/userguide\/vpc-nat-gateway.html<\/a><\/p>\n\n\n\n<p><strong>Microsoft Azure<\/strong><br><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/nat-gateway\/nat-overview\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/learn.microsoft.com\/en-us\/azure\/nat-gateway\/nat-overview<\/a><\/p>\n\n\n\n<p><strong>Infraestructura en la nube de Oracle<\/strong><br><a href=\"https:\/\/docs.oracle.com\/en-us\/iaas\/Content\/Network\/Tasks\/NATgateway.htm\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/docs.oracle.com\/en-us\/iaas\/Content\/Network\/Tasks\/NATgateway.htm<\/a><\/p>\n\n\n\n<div style=\"height:75px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Limitaci\u00f3n de velocidad<\/h3>\n\n\n\n<p>Tenga en cuenta que nuestra API est\u00e1 protegida por un cortafuegos de aplicaciones web (WAF) que utiliza varios niveles de limitaci\u00f3n de velocidad en todos los puntos finales. Si se encuentra con un error 429 o similar al realizar llamadas a la API y no est\u00e1 seguro del motivo, p\u00f3ngase en contacto con el servicio de asistencia y le ayudaremos.<\/p>\n\n\n\n<div style=\"height:75px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Ejemplo de llamada<\/h3>\n\n\n\n<p>En este ejemplo, haremos una llamada a la API de FleetCam. Tenga en cuenta que para transmitir v\u00eddeo hist\u00f3rico desde un veh\u00edculo, \u00e9ste debe estar encendido y conectado a la red.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>POST: \/autenticaci\u00f3n\/token<\/strong> - Genere un token de acceso utilizando sus credenciales<\/li>\n\n\n\n<li><strong>Autorizar utilizando el token<\/strong> - En Swagger, esto se consigue a trav\u00e9s del bot\u00f3n Autorizar situado en la parte superior derecha de la p\u00e1gina. Otros clientes API pueden tener una pantalla espec\u00edfica para la autenticaci\u00f3n.<\/li>\n\n\n\n<li><strong>GET: \/veh\u00edculos<\/strong> - Obtener la lista de veh\u00edculos de la cuenta. Necesitar\u00e1s el vehicleID del activo para realizar la llamada POST \/historicalstream.<\/li>\n\n\n\n<li><strong>GET: \/veh\u00edculos\/estado<\/strong> - Utilizando la ID del veh\u00edculo, aseg\u00farese de que el veh\u00edculo del que desea extraer un flujo est\u00e1 encendido.<\/li>\n\n\n\n<li><strong>POST: \/historicalstream<\/strong> - Utilizando el ID del veh\u00edculo, cree una solicitud de flujo hist\u00f3rico. Esta llamada devolver\u00e1 el ID del flujo hist\u00f3rico.<\/li>\n\n\n\n<li><strong>GET: \/historicalstream\/status{historicalStreamLogId}<\/strong> - Obtenga la URL del identificador de flujo hist\u00f3rico que ha creado<\/li>\n\n\n\n<li><strong>PUT: \/historicalstream\/extend\/{historicalStreamLogId}<\/strong> - Ampl\u00ede su flujo hist\u00f3rico actual<\/li>\n\n\n\n<li><strong>DELETE: \/historicalstream\/terminate\/{historicalStreamLogId}<\/strong> - Detener el flujo hist\u00f3rico en curso<\/li>\n<\/ul>","protected":false},"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"knowledges":[180],"class_list":["post-5879","knowledge","type-knowledge","status-publish","format-standard","hentry","knowledges-api"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>REST API Quick Start Guide - Forward Thinking Systems<\/title>\n<meta name=\"description\" content=\"This guide is a short overview of how to connect to and use the REST API with the IntelliHub fleet management portal.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ftsgps.com\/es\/soporte\/guia-de-inicio-rapido-de-la-api-rest\/\" \/>\n<meta property=\"og:locale\" content=\"es_MX\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"REST API Quick Start Guide - Forward Thinking Systems\" \/>\n<meta property=\"og:description\" content=\"This guide is a short overview of how to connect to and use the REST API with the IntelliHub fleet management portal.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ftsgps.com\/es\/soporte\/guia-de-inicio-rapido-de-la-api-rest\/\" \/>\n<meta property=\"og:site_name\" content=\"Forward Thinking Systems\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ftsGPS\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-19T17:09:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ftsgps.com\/wp-content\/uploads\/2026\/02\/ForwardThinkingSystems.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@FTSGPS\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutos\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Gu\u00eda de inicio r\u00e1pido de la API REST - Forward Thinking Systems","description":"Esta gu\u00eda es un breve resumen de c\u00f3mo conectarse y utilizar la API REST con el portal de gesti\u00f3n de flotas IntelliHub.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ftsgps.com\/es\/soporte\/guia-de-inicio-rapido-de-la-api-rest\/","og_locale":"es_MX","og_type":"article","og_title":"REST API Quick Start Guide - Forward Thinking Systems","og_description":"This guide is a short overview of how to connect to and use the REST API with the IntelliHub fleet management portal.","og_url":"https:\/\/www.ftsgps.com\/es\/soporte\/guia-de-inicio-rapido-de-la-api-rest\/","og_site_name":"Forward Thinking Systems","article_publisher":"https:\/\/www.facebook.com\/ftsGPS\/","article_modified_time":"2025-11-19T17:09:16+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/www.ftsgps.com\/wp-content\/uploads\/2026\/02\/ForwardThinkingSystems.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@FTSGPS","twitter_misc":{"Tiempo de lectura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.ftsgps.com\/support\/rest-api-quick-start-guide\/","url":"https:\/\/www.ftsgps.com\/support\/rest-api-quick-start-guide\/","name":"Gu\u00eda de inicio r\u00e1pido de la API REST - Forward Thinking Systems","isPartOf":{"@id":"https:\/\/www.ftsgps.com\/#website"},"datePublished":"2022-10-12T22:59:54+00:00","dateModified":"2025-11-19T17:09:16+00:00","description":"Esta gu\u00eda es un breve resumen de c\u00f3mo conectarse y utilizar la API REST con el portal de gesti\u00f3n de flotas IntelliHub.","breadcrumb":{"@id":"https:\/\/www.ftsgps.com\/support\/rest-api-quick-start-guide\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ftsgps.com\/support\/rest-api-quick-start-guide\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ftsgps.com\/support\/rest-api-quick-start-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Knowledge","item":"https:\/\/www.ftsgps.com\/support\/"},{"@type":"ListItem","position":2,"name":"Hardware","item":"https:\/\/www.ftsgps.com\/support\/category\/hardware\/"},{"@type":"ListItem","position":3,"name":"API &amp; Integration","item":"https:\/\/www.ftsgps.com\/support\/category\/api-integration\/"},{"@type":"ListItem","position":4,"name":"APIs","item":"https:\/\/www.ftsgps.com\/support\/category\/api\/"},{"@type":"ListItem","position":5,"name":"REST API Quick Start Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.ftsgps.com\/#website","url":"https:\/\/www.ftsgps.com\/","name":"Sistemas de previsi\u00f3n","description":"Adel\u00e1ntate a los dem\u00e1s","publisher":{"@id":"https:\/\/www.ftsgps.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ftsgps.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.ftsgps.com\/#organization","name":"Sistemas de previsi\u00f3n","alternateName":"FTSGPS","url":"https:\/\/www.ftsgps.com\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.ftsgps.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.ftsgps.com\/wp-content\/uploads\/2019\/07\/Forward-Thinking-Systems-logo.svg","contentUrl":"https:\/\/www.ftsgps.com\/wp-content\/uploads\/2019\/07\/Forward-Thinking-Systems-logo.svg","width":656,"height":129,"caption":"Forward Thinking Systems"},"image":{"@id":"https:\/\/www.ftsgps.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ftsGPS\/","https:\/\/x.com\/FTSGPS","https:\/\/www.linkedin.com\/company\/forward-thinking-systems"]}]}},"_links":{"self":[{"href":"https:\/\/www.ftsgps.com\/es\/wp-json\/wp\/v2\/knowledge\/5879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ftsgps.com\/es\/wp-json\/wp\/v2\/knowledge"}],"about":[{"href":"https:\/\/www.ftsgps.com\/es\/wp-json\/wp\/v2\/types\/knowledge"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ftsgps.com\/es\/wp-json\/wp\/v2\/comments?post=5879"}],"version-history":[{"count":18,"href":"https:\/\/www.ftsgps.com\/es\/wp-json\/wp\/v2\/knowledge\/5879\/revisions"}],"predecessor-version":[{"id":9531,"href":"https:\/\/www.ftsgps.com\/es\/wp-json\/wp\/v2\/knowledge\/5879\/revisions\/9531"}],"wp:attachment":[{"href":"https:\/\/www.ftsgps.com\/es\/wp-json\/wp\/v2\/media?parent=5879"}],"wp:term":[{"taxonomy":"knowledges","embeddable":true,"href":"https:\/\/www.ftsgps.com\/es\/wp-json\/wp\/v2\/knowledges?post=5879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}