> For the complete documentation index, see [llms.txt](https://developers.myscreators.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.myscreators.com/primeros-pasos/introduccion.md).

# Introducción

Qué es la API del CRM de M\&S y cómo está construida.

La API de **M\&S Creators** te permite integrar tu propio software con el CRM: gestionar clientes, prospectos (leads), proyectos, tickets de soporte y facturas de forma programática.

## Características

* **REST sobre HTTPS.** Cada recurso se expone mediante una URL y se opera con los métodos HTTP estándar (`GET`, `POST`, `PUT`, `DELETE`).
* **Respuestas en JSON.** Todas las respuestas se devuelven en formato JSON.
* **Códigos de estado estándar.** Se usan los códigos HTTP para comunicar el resultado de cada solicitud.
* **Autenticación por token.** Un `authtoken` identifica tu instalación de M\&S.

## URL base

{% hint style="info" %}

```
https://crm.myscreators.com/index.php/api
```

{% endhint %}

## Flujo típico de integración

```mermaid
flowchart LR
    A[Obtener authtoken] --> B[Enviar solicitud con el header authtoken]
    B --> C{Respuesta}
    C -->|2xx| D[Procesar JSON]
    C -->|401| E[Revisar token]
    C -->|404| F[Revisar la ruta / index.php]
```

## Siguientes pasos

1. Configura tu [autenticación](/primeros-pasos/autenticacion.md).
2. Revisa las [convenciones](/primeros-pasos/convenciones.md) de la API.
3. Explora la referencia de endpoints.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developers.myscreators.com/primeros-pasos/introduccion.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
