{
  "info": {
    "name": "TimelinesAI — mcp.ai",
    "description": "REST API for the TimelinesAI MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/timelinesai",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "timelinesai_delete_file",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/file",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "file"
          ]
        },
        "description": "Tool to delete an uploaded file by its UID. Use after confirming the file is no longer needed.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"file_uid\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "timelinesai_delete_webhook",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/webhook",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "webhook"
          ]
        },
        "description": "Tool to delete a webhook subscription by its ID. Use when you need to remove an existing webhook after confirming the webhook ID. Example: \"Delete the webhook with ID '9f6a8c3d-56b7-4a1e-8f2e-abcdef12",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"webhook_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "timelinesai_get_chat_messages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/chat/messages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "chat",
            "messages"
          ]
        },
        "description": "Tool to get messages from a specific chat in TimelinesAI. Use when you need to retrieve message history or recent messages from a chat. Example: \"Get the last 20 messages from chat 'chat_123abc'.\"",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"offset\": 0,\n  \"chat_id\": \"\",\n  \"after_message_id\": \"\",\n  \"before_message_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "timelinesai_get_chats",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/chats",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "chats"
          ]
        },
        "description": "Tool to get full or filtered list of all chats. Use when you need to browse or search chats with optional filters. Example: \"List all unread chats assigned to me.\"",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"types\": \"\",\n  \"offset\": 0,\n  \"search\": \"\",\n  \"is_muted\": false,\n  \"label_id\": \"\",\n  \"has_label\": false,\n  \"is_unread\": false,\n  \"person_id\": \"\",\n  \"sort_field\": \"\",\n  \"assignee_id\": \"\",\n  \"is_archived\": false,\n  \"is_assigned\": false,\n  \"is_followed\": false,\n  \"created_since\": \"\",\n  \"has_open_task\": false,\n  \"integration_id\": \"\",\n  \"sort_direction\": \"\",\n  \"team_member_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "timelinesai_get_file_details",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/file/details",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "file",
            "details"
          ]
        },
        "description": "Tool to retrieve metadata and temporary download URL for an uploaded file. Use after uploading a file or when needing its URL.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"file_uid\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "timelinesai_get_webhook",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/webhook",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "webhook"
          ]
        },
        "description": "Retrieves detailed information about a specific webhook subscription by its ID. Use this action to: - Check webhook configuration (URL, event type, enabled status) - Monitor webhook health (error coun",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"webhook_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "timelinesai_get_webhooks",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/webhooks",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "webhooks"
          ]
        },
        "description": "Retrieves all webhook subscriptions configured for the workspace. Webhooks notify external systems about events (e.g., 'message:new', 'chat:new') in real-time. Use this to view existing webhook config",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"offset\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "timelinesai_get_whatsapp_accounts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/whatsapp/accounts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "whatsapp",
            "accounts"
          ]
        },
        "description": "Tool to list all WhatsApp accounts connected to the workspace. Use after configuring WhatsApp integration to verify accounts.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "timelinesai_list_uploaded_files",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/uploaded/files",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "uploaded",
            "files"
          ]
        },
        "description": "Tool to list files uploaded in your TimelinesAI workspace. Use when you need to retrieve all uploaded files.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "timelinesai_post_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/post/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "post",
            "message"
          ]
        },
        "description": "Tool to send a WhatsApp text message to a phone number via TimelinesAI. Use this to send messages to any recipient phone number using one of your connected WhatsApp accounts as the sender. The message",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"text\": \"\",\n  \"phone\": \"\",\n  \"whatsapp_account_phone\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "timelinesai_post_webhook",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/post/webhook",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "post",
            "webhook"
          ]
        },
        "description": "Tool to create a new webhook subscription. Use when you have the event type and callback URL ready.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"secret\": \"\",\n  \"event_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "timelinesai_put_webhook",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/put/webhook",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "put",
            "webhook"
          ]
        },
        "description": "Tool to update an existing webhook subscription. Use after confirming the webhook ID when you need to change the URL, subscribed event types, or enable/disable a webhook.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"enabled\": false,\n  \"event_type\": \"\",\n  \"webhook_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "timelinesai_send_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/send/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "send",
            "message"
          ]
        },
        "description": "Send a WhatsApp message to an existing chat in TimelinesAI. Use this action when you have a chat ID from the Get Chats action and want to send a message to that conversation. For sending messages to n",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"chat_id\": \"\",\n  \"message\": \"\",\n  \"message_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}