{"id":7287,"date":"2024-04-08T12:10:51","date_gmt":"2024-04-08T12:10:51","guid":{"rendered":"https:\/\/openspokenai.com\/?page_id=7287"},"modified":"2025-10-01T18:52:02","modified_gmt":"2025-10-01T18:52:02","slug":"open-spoken-ai-api","status":"publish","type":"page","link":"https:\/\/openspokenai.com\/es\/open-spoken-ai-api\/","title":{"rendered":"API abierta de IA hablada"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"7287\" class=\"elementor elementor-7287\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d647369 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d647369\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fc38ded\" data-id=\"fc38ded\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d4e10cc elementor-widget elementor-widget-heading\" data-id=\"d4e10cc\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Documentaci\u00f3n de la API de chat<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4a2eda2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4a2eda2\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-01274e0\" data-id=\"01274e0\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f559f01 elementor-widget elementor-widget-text-editor\" data-id=\"f559f01\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h3>\u00a0<\/h3><h3>Visi\u00f3n general<\/h3><p>La API de chat facilita la obtenci\u00f3n de chatbots y permite a los usuarios interactuar con ellos publicando mensajes.<\/p><h3>URL base<\/h3><p><a href=\"https:\/\/app.openspokenai.com\/api\">https:\/\/app.openspokenai.com\/api<\/a><\/p><h3>Autenticaci\u00f3n<\/h3><p>Los clientes deben autenticarse con una cabecera de autorizaci\u00f3n b\u00e1sica para cada solicitud:<\/p><p>Autorizaci\u00f3n: Basic {authString}<\/p><p>Donde {authString} es la cadena codificada en base64 con el formato username:password.<\/p><p><strong>Ejemplo de uso:\u00a0<\/strong><\/p><p>curl -X GET \"https:\/\/app.openspokenai.com\/api\/chat\" -H \"Authorization: Basic {authString}\"<\/p><h3>Puntos finales<\/h3><h3>GET \/chat<\/h3><p>Recupera una lista de chats activos disponibles para interactuar.<\/p><h3>Par\u00e1metros de consulta:<\/h3><p>grupo (opcional): Filtra los chats por un grupo especificado.<\/p><h3>Respuesta satisfactoria:<\/h3><p>{<\/p><p>\u00a0\u00a0\u00a0 \"mensaje\": \"\u00e9xito\",<\/p><p>\u00a0\u00a0\u00a0 \"datos\": [<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 {<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"nombre\": \"cadena\",<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"chat_code\": \"string\",<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"descripci\u00f3n\": \"cadena\",<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"grupo\": \"cadena\"<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }<\/p><p>\u00a0\u00a0\u00a0 ]<p>}<\/p><h3>No se ha encontrado contenido:<\/h3><p>{<\/p><p>\u00a0\u00a0\u00a0 \"mensaje\": \"error\",<\/p><p>\u00a0\u00a0\u00a0 \"datos\": {<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\"mensaje\": \"No se ha encontrado ning\u00fan chatbot para el grupo especificado\".<\/p><p>\u00a0\u00a0\u00a0 }<\/p><p>}<\/p><h3>POST \/chat<\/h3><p>Env\u00eda un mensaje a un chat espec\u00edfico y recibe una respuesta.<\/p><h3>Cabeceras:<\/h3><p>Content-Type: application\/json<\/p><p>Autorizaci\u00f3n: Basic {authString}<\/p><h3>Carga \u00fatil requerida:<\/h3><p>prompt: (cadena) El texto de entrada para la respuesta del chat.<\/p><p>request_id: (cadena) Un ID \u00fanico para rastrear la solicitud.<\/p><p>webhook_url (opcional): (URL) El punto final al que se debe enviar la respuesta a trav\u00e9s de webhook.<\/p><h3>Respuesta satisfactoria:<\/h3><p>{<\/p><p>\u00a0\u00a0\u00a0 \"mensaje\": \"\u00e9xito\",<\/p><p>\u00a0\u00a0\u00a0 \"datos\": {<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"request_id\": \"string\",<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"mensaje\": \"cadena\"<\/p><p>\u00a0\u00a0\u00a0 }<\/p><p>}<\/p><h3>Respuestas de error:<\/h3><h3>Cr\u00e9ditos insuficientes:<\/h3><p>{<\/p><p>\u00a0\u00a0\u00a0 \"mensaje\": \"error\",<\/p><p>\u00a0\u00a0\u00a0 \"datos\": {<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"mensaje\": \"Te has quedado sin cr\u00e9ditos para generar palabras. Por favor, recargue e int\u00e9ntelo de nuevo\".<\/p><p>\u00a0\u00a0\u00a0 }<\/p><p>}<\/p><h3>Chatbot no encontrado:<\/h3><p>{<\/p><p>\u00a0\u00a0\u00a0 \"mensaje\": \"error\",<\/p><p>\u00a0\u00a0\u00a0 \"datos\": {<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"Mensaje\": \"Chatbot no encontrado\".<\/p><p>\u00a0\u00a0\u00a0 }<\/p><p>}<\/p><h3>Fallo del webhook:<\/h3><p>{<\/p><p>\u00a0\u00a0\u00a0 \"mensaje\": \"error\",<\/p><p>\u00a0\u00a0\u00a0 \"datos\": {<\/p><p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"mensaje\": \"Error al enviar la respuesta al webhook\".<\/p><p>\u00a0\u00a0\u00a0 }<\/p><p>}<\/p><p>\u00a0<\/p><h3>GET \/chat\/balance<\/h3><p>&#8211; Retrieves remaining word balance for authenticated user<br \/>&#8211; Returns user&#8217;s own balance, or parent account balance if user has zero words<br \/>&#8211; Required header: Authorization: Basic {authString}<\/p><p>Successful Response Example:<br \/>{<br \/>\"mensaje\": \"\u00e9xito\",<br \/>\"datos\": {<br \/>&#8220;remaining_words&#8221;: 15000<br \/>}<br \/>}<\/p><p>Error Response:<br \/>{<br \/>\"mensaje\": \"error\",<br \/>\"datos\": {<br \/>&#8220;message&#8221;: &#8220;Failed to retrieve balance.&#8221;<br \/>}<br \/>}<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Documentaci\u00f3n de la API de chat Descripci\u00f3n general La API de chat facilita la obtenci\u00f3n de chatbots y permite a los usuarios interactuar con ellos mediante la publicaci\u00f3n de mensajes. URL base https:\/\/app.openspokenai.com\/api Autenticaci\u00f3n Los clientes deben autenticarse con un encabezado de Autorizaci\u00f3n b\u00e1sica para cada solicitud: Autorizaci\u00f3n: B\u00e1sica {authString} Donde {authString} es la cadena codificada en base64 con el formato username:password. Ejemplo de uso: curl -X [...]<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_theme","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-7287","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Open Spoken AI API - Open Spoken Ai - Uncensored Text Writer No restrictions Nsfw<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/openspokenai.com\/es\/\u5f00\u653e\u53e3\u8bed-ai-api\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Open Spoken AI API - Open Spoken Ai - Uncensored Text Writer No restrictions Nsfw\" \/>\n<meta property=\"og:description\" content=\"Chat API Documentation \u00a0 Overview The Chat API facilitates the retrieval of chatbots and enables users to interact with them by posting messages. Base URL https:\/\/app.openspokenai.com\/api Authentication Clients must authenticate with a Basic Authorization header for each request: Authorization: Basic {authString} Where {authString} is the base64-encoded string of the format username:password. Example usage:\u00a0 curl -X [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/openspokenai.com\/es\/\u5f00\u653e\u53e3\u8bed-ai-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Open Spoken Ai - Uncensored Text Writer No restrictions Nsfw\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-01T18:52:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/openspokenai.com\/wp-content\/uploads\/2023\/10\/logoresized.png\" \/>\n\t<meta property=\"og:image:width\" content=\"274\" \/>\n\t<meta property=\"og:image:height\" content=\"80\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/openspokenai.com\/zh\/\u5f00\u653e\u53e3\u8bed-ai-api\/\",\"url\":\"https:\/\/openspokenai.com\/zh\/\u5f00\u653e\u53e3\u8bed-ai-api\/\",\"name\":\"Open Spoken AI API - Open Spoken Ai - Uncensored Text Writer No restrictions Nsfw\",\"isPartOf\":{\"@id\":\"https:\/\/openspokenai.com\/es\/#website\"},\"datePublished\":\"2024-04-08T12:10:51+00:00\",\"dateModified\":\"2025-10-01T18:52:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/openspokenai.com\/zh\/\u5f00\u653e\u53e3\u8bed-ai-api\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/openspokenai.com\/zh\/\u5f00\u653e\u53e3\u8bed-ai-api\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/openspokenai.com\/zh\/\u5f00\u653e\u53e3\u8bed-ai-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/openspokenai.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Open Spoken AI API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/openspokenai.com\/es\/#website\",\"url\":\"https:\/\/openspokenai.com\/es\/\",\"name\":\"Open Spoken Ai - Uncensored Text Writer No restrictions GPT AI\",\"description\":\"Write what you want\",\"publisher\":{\"@id\":\"https:\/\/openspokenai.com\/es\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/openspokenai.com\/es\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/openspokenai.com\/es\/#organization\",\"name\":\"Open Spoken Ai - Uncensored Text Writer No restrictions GPT AI\",\"url\":\"https:\/\/openspokenai.com\/es\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/openspokenai.com\/es\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/openspokenai.com\/wp-content\/uploads\/2023\/10\/logoresized.png\",\"contentUrl\":\"https:\/\/openspokenai.com\/wp-content\/uploads\/2023\/10\/logoresized.png\",\"width\":274,\"height\":80,\"caption\":\"Open Spoken Ai - Uncensored Text Writer No restrictions GPT AI\"},\"image\":{\"@id\":\"https:\/\/openspokenai.com\/es\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Open Spoken AI API - Open Spoken Ai - Uncensored Text Writer No restrictions Nsfw","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:\/\/openspokenai.com\/es\/\u5f00\u653e\u53e3\u8bed-ai-api\/","og_locale":"es_ES","og_type":"article","og_title":"Open Spoken AI API - Open Spoken Ai - Uncensored Text Writer No restrictions Nsfw","og_description":"Chat API Documentation \u00a0 Overview The Chat API facilitates the retrieval of chatbots and enables users to interact with them by posting messages. Base URL https:\/\/app.openspokenai.com\/api Authentication Clients must authenticate with a Basic Authorization header for each request: Authorization: Basic {authString} Where {authString} is the base64-encoded string of the format username:password. Example usage:\u00a0 curl -X [&hellip;]","og_url":"https:\/\/openspokenai.com\/es\/\u5f00\u653e\u53e3\u8bed-ai-api\/","og_site_name":"Open Spoken Ai - Uncensored Text Writer No restrictions Nsfw","article_modified_time":"2025-10-01T18:52:02+00:00","og_image":[{"width":274,"height":80,"url":"https:\/\/openspokenai.com\/wp-content\/uploads\/2023\/10\/logoresized.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/openspokenai.com\/zh\/\u5f00\u653e\u53e3\u8bed-ai-api\/","url":"https:\/\/openspokenai.com\/zh\/\u5f00\u653e\u53e3\u8bed-ai-api\/","name":"Open Spoken AI API - Open Spoken Ai - Uncensored Text Writer No restrictions Nsfw","isPartOf":{"@id":"https:\/\/openspokenai.com\/es\/#website"},"datePublished":"2024-04-08T12:10:51+00:00","dateModified":"2025-10-01T18:52:02+00:00","breadcrumb":{"@id":"https:\/\/openspokenai.com\/zh\/\u5f00\u653e\u53e3\u8bed-ai-api\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/openspokenai.com\/zh\/\u5f00\u653e\u53e3\u8bed-ai-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/openspokenai.com\/zh\/\u5f00\u653e\u53e3\u8bed-ai-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/openspokenai.com\/"},{"@type":"ListItem","position":2,"name":"Open Spoken AI API"}]},{"@type":"WebSite","@id":"https:\/\/openspokenai.com\/es\/#website","url":"https:\/\/openspokenai.com\/es\/","name":"Open Spoken Ai - Uncensored Text Writer No restrictions GPT AI","description":"Write what you want","publisher":{"@id":"https:\/\/openspokenai.com\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/openspokenai.com\/es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/openspokenai.com\/es\/#organization","name":"Open Spoken Ai - Uncensored Text Writer No restrictions GPT AI","url":"https:\/\/openspokenai.com\/es\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/openspokenai.com\/es\/#\/schema\/logo\/image\/","url":"https:\/\/openspokenai.com\/wp-content\/uploads\/2023\/10\/logoresized.png","contentUrl":"https:\/\/openspokenai.com\/wp-content\/uploads\/2023\/10\/logoresized.png","width":274,"height":80,"caption":"Open Spoken Ai - Uncensored Text Writer No restrictions GPT AI"},"image":{"@id":"https:\/\/openspokenai.com\/es\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/openspokenai.com\/es\/wp-json\/wp\/v2\/pages\/7287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openspokenai.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/openspokenai.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/openspokenai.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/openspokenai.com\/es\/wp-json\/wp\/v2\/comments?post=7287"}],"version-history":[{"count":3,"href":"https:\/\/openspokenai.com\/es\/wp-json\/wp\/v2\/pages\/7287\/revisions"}],"predecessor-version":[{"id":8201,"href":"https:\/\/openspokenai.com\/es\/wp-json\/wp\/v2\/pages\/7287\/revisions\/8201"}],"wp:attachment":[{"href":"https:\/\/openspokenai.com\/es\/wp-json\/wp\/v2\/media?parent=7287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}