Skip to main content

Quickstart

Get started with the TimelinesAI API in just a few steps.

Prerequisites

A TimelinesAI account with at least one connected WhatsApp number
Basic familiarity with REST APIs

Step 1: Get your API token

1

Log in to TimelinesAI

Go to app.timelines.ai and sign in to your account.
2

Navigate to API settings

Click Integrations β†’ Public API in the left sidebar.
3

Copy your token

Click Copy to copy your API token. Keep this secureβ€”it provides full access to your workspace.
Never share your API token publicly or commit it to version control. Use environment variables in production.

Step 2: Test your connection

Verify your token works by listing your WhatsApp accounts:
You should see a response like:

Step 3: Send your first message

Now send a message to a phone number:
Replace +14155559999 with a real phone number. The recipient must have WhatsApp installed.
Success response:
Messages are queued and sent asynchronously. Use the message_uid to track delivery status.

Step 4: Check message status

Track your message delivery:

Next steps

Send attachments

Learn to send images and documents

Set up webhooks

Receive real-time notifications

Manage chats

Organize and assign conversations

API Reference

Explore all endpoints