> For the complete documentation index, see [llms.txt](https://docs.skyone.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skyone.cloud/espanol/api-skyone-autosky/introduccion.md).

# Introducción

Esta documentación presenta la información necesaria para la integración de sistemas y plataformas con la **API Skyone Autosky**.

A través de esta API, será posible realizar procedimientos para la integración con los siguientes objetos:

* **Clientes (Grupos de Usuarios)**
* **Usuarios**
* **Aplicaciones**
* **Sesiones de Usuarios**
* **Autenticación de Usuario**
* **Inicio de sesión de usuarios**

## Versión

V2.3 - (19/07/2024)

## Prerrequisitos

Para utilizar las API, será necesario tener acceso a la información de autenticación que será enviada por el equipo de integraciones de Skyone.

Por ejemplo:

| Elemento                      | Ejemplo                                |
| ----------------------------- | -------------------------------------- |
| Token de autenticación        | `23a1e4e6f90546e498a8f66cf21e3fb3`     |
| UUID del entorno              | `6a6c7a07-bef1-4e42-942e-87277a8c2a84` |
| URL de homologación (Pruebas) | `piloto.skyinone.net`                  |
| URL de producción             | `meudominio.skyinone.net`              |

## Base URL

```
https://meudominio.skyinone.net/v2/api/
```

### Autenticación de llamadas a la API

Al obtener su token de autenticación para las llamadas a la API de la plataforma Autosky, este token deberá utilizarse en todas las solicitudes.

Existen dos formas de utilizar el token de autenticación:

#### Token a través de la URL

En esta modalidad, el token debe enviarse como un parámetro en las llamadas de la API, por ejemplo:

```
http://meudominio.skyinone.net/v2/api/clients/?token=xxxxx
```

#### Token a través del Header

En esta modalidad, el envío del token se debe pasar como un encabezado en las llamadas de la API. El encabezado debe seguir el siguiente modelo:

```
Authorization:xxxxxx
```

Ejemplo utilizando HTTPie:

```
http http://meudominio.skyinone.net/v2/api/clients/ Authorization:xxxx
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.skyone.cloud/espanol/api-skyone-autosky/introduccion.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
