> ## Documentation Index
> Fetch the complete documentation index at: https://docs.presenton.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# API and integration problems

> Fix authentication, asynchronous tasks, webhooks, and MCP connections.

## Cloud

* Confirm the request uses the Cloud v3 base URL and a valid bearer token.
* Do not send self-hosted v1 payloads to Cloud endpoints.
* Record the HTTP status, response body, and request identifier.
* Treat asynchronous intermediate states as non-final.
* Make webhook processing idempotent and return a successful response promptly.

## Self-hosted

* Confirm the request uses the v1 endpoints exposed by your installed release.
* Confirm the request sends an active `sk-presenton-...` API key as a bearer token.
* Generate a replacement key after administrator credential recovery or suspected exposure.
* Confirm the MCP client can reach the Presenton host; MCP is unavailable in the desktop app.
* Check application logs for route, validation, provider, and background-task failures.
