# Peakly: guide for agents and integrations

Peakly brings together sales, collections, purchases, products, treasury, accounting and staff management. This guide links to public sources; it contains no organization data.

## Reading path

1. To use the interface, search by title and description in the [help index](https://peakly.ar/help/index.md?lang=en), then read only the relevant article.
2. To integrate through REST, consult [OpenAPI JSON](https://api.peakly.ar/openapi.json). Find the operation by resource, method or operationId and resolve only the referenced schemas in components.schemas. Parameters and permissions depend on each operation.
3. To connect an assistant through MCP, follow the [connection guide](https://peakly.ar/connect). Endpoint: https://api.peakly.ar/mcp (Streamable HTTP). A connection requires authorization for an organization; tool discovery shows what is enabled for that connection.
4. To explore manually, use the [interactive reference](https://peakly.ar/docs) or the [Postman collection](https://api.peakly.ar/postman-collection.json).

## REST authentication

Base URL: https://api.peakly.ar/v1

API Key integrations send the X-API-Key header. Create and manage your key in Peakly's API Keys section; each key belongs to an organization. [API Keys guide](https://peakly.ar/help/integraciones/api-keys/index.md?lang=en).

Read-only example (replace the placeholder in a secure server environment):

~~~sh
curl 'https://api.peakly.ar/v1/customers' \
  -H 'X-API-Key: <your-api-key>'
~~~

Never put keys in URLs, browser code, documentation or conversations. Public documentation can be read without credentials; reading or changing business data requires an authorized connection.

## Contract and verification

- OpenAPI served by the API is the current source for methods, paths, required fields, enumerations, responses and authentication. Do not infer endpoints from interface routes.
- Request bodies use camelCase; query parameters use snake_case. Verify the names for each operation.
- Check the pagination declared by each endpoint; several operations use cursors. Do not assume the first response includes every record.
- Confirm the organization and connection permissions before acting. Available screens and features may depend on the plan and role.
- Creating a draft and confirming a document are different operations. Confirmation may assign fiscal numbering and request ARCA authorization; verify the user's intent before executing it.
- After a write, verify the response and resource state. If creation or confirmation times out, check the outcome before retrying to avoid duplicates.

## Reading without a browser

- [Brief site index](https://peakly.ar/llms.txt).
- [Complete help index](https://peakly.ar/help/index.md?lang=en).
- Each help article links to its Markdown version at /help/{category}/{article}/index.md?lang=en. It is generated from the same content as the HTML page, including warnings, steps and screenshot descriptions.
- Check the current [plans](https://peakly.ar/pricing) and [service status](https://peakly.ar/status) on their respective pages.

Help screenshots contain example data. The /app and /equipo routes require a session and are excluded from these public indexes.
