Skip to main content

TimelinesAI API

The TimelinesAI API enables you to programmatically manage WhatsApp communications for your business. Build integrations, automate workflows, and connect WhatsApp to your existing systems.

Our APIs

TimelinesAI provides two complementary APIs and their webhook systems, each designed for different audiences and use cases.

Public API

The Public API is your primary interface for managing WhatsApp communications within a single workspace. Use it to send and receive messages, manage chats, upload files, organize conversations with labels, and subscribe to real-time webhook events. Best for: Businesses integrating WhatsApp into their own workflows — CRMs, support systems, marketing tools, and custom applications.

Partner API

The Partner API is designed for platform integrators, resellers, and SaaS providers who manage multiple TimelinesAI workspaces on behalf of their customers. It lets you automate workspace provisioning, user management, WhatsApp onboarding, and API token lifecycle. Best for: Partners building white-label solutions, managed services, or multi-tenant platforms on top of TimelinesAI.

What you can do

Send text messages, images, documents, and voice notes to any WhatsApp number. Retrieve message history and track delivery status from queued through read.
List, filter, and organize your WhatsApp conversations. Assign chats to team members, add labels, manage chat status, and add internal notes.
Upload files from URLs or directly. Send images, PDFs, audio, and video as WhatsApp message attachments.
Get instant notifications when messages arrive, are sent, chats are created, or account statuses change. Partner webhooks cover quota alerts and workspace-level events.
Provision and configure customer workspaces, add users, generate QR codes for WhatsApp onboarding, and manage API tokens programmatically.
Track messaging quotas, API call limits, and seat utilization. Partner webhooks alert you when workspaces approach their limits.

Key concepts

ConceptDescription
WorkspaceYour TimelinesAI account containing all chats, messages, and connected WhatsApp accounts
ChatA conversation thread with a contact or group
WIDWhatsApp ID format: phonenumber@s.whatsapp.net (e.g., 14155551234@s.whatsapp.net)
JIDJabber ID — used for groups: groupid@g.us
Message UIDUnique identifier for each message (UUID format)

Rate limits & credits

Messages sent via API consume credits from your messaging quota:
ActionCredits
Text message1
Message with attachment2
Failed messageRefunded
Messages are sent with a ~2 second delay between each to comply with WhatsApp guidelines. Contact support to customize this on Business plans.

Need help?