# TimelinesAI API Documentation

This is the complete API documentation for connecting to the TimelinesAI API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **TimelinesAI connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/timelinesAI/actions/{actionSlug}/run
```

## TimelinesAI actions

- PUT `add-chat-labels` Add Chat Labels
- POST `add-chat-note` Add Chat Note
- POST `create-webhook` Create Webhook
- GET `get-chat` Get Chat
- GET `get-file` Get File
- GET `get-message` Get Message
- GET `get-message-reactions` Get Message Reactions
- GET `get-webhook` Get Webhook
- GET `get-workspace-quotas` Get Workspace Quotas
- GET `list-chat-labels` List Chat Labels
- GET `list-chat-messages` List Chat Messages
- GET `list-chats` List Chats
- GET `list-files` List Files
- GET `list-message-status-history` List Message Status History
- GET `list-webhooks` List Webhooks
- GET `list-whatsapp-accounts` List WhatsApp Accounts
- GET `list-workspace-teammates` List Workspace Teammates
- PUT `replace-chat-labels` Replace Chat Labels
- POST `send-chat-message` Send Chat Message
- POST `send-message-to-chat-name` Send Message To Chat Name
- POST `send-message-to-jid` Send Message to JID
- POST `send-message-to-phone` Send Message to Phone
- POST `send-voice-message-to-chat` Send Voice Message To Chat
- PUT `update-chat` Update Chat
- PUT `update-message-reactions` Update Message Reactions
- PUT `update-webhook` Update Webhook
- POST `upload-file-by-form` Upload File by Form
- POST `upload-file-by-url` Upload File by URL
