Skip to main content
As we’re in Alpha right now, you can only get your API key by booking an onboarding call at https://cal.com/team/a1base/a1base-book-a-demo or by contacting the founders at [email protected] or [email protected]

Getting Started

1. Install the A1Base CLI or webhook

To start using A1Base you need an API key and secret. You can get these by booking an onboarding call at https://cal.com/team/a1base/a1base-book-a-demo or contacting the founders at [email protected] or [email protected].
const API_KEY = YOUR_API_KEY; 
const API_SECRET = YOUR_API_SECRET;
const ACCOUNT_ID = YOUR_ACCOUNT_ID; 
const FROM_NUMBER = YOUR_FROM_NUMBER; //e.g. +12345678900

2. Send your first message

curl --location 'https://api.a1base.com/v1/messages/individual/{accountId}/send' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'X-API-Secret: <api-key>'
--data '{
    "content": "Hello World!",
    "attachment_uri": "",
    "from": "+1222333444",      
    "to": "+1555666777", 
    "service": "whatsapp"
}'
Now it’s time to build your AI Agent logic around it! We just send the message and store it safely in our database, but you can build your logic around it.