You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 pasha@a1base.com or pennie@a1base.com
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 pasha@a1base.com or pennie@a1base.com.
```javascript
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
```bash
curl --location 'https://api.a1base.com/v1/messages/individual/{accountId}/send' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: ' \
--header 'X-API-Secret: '
--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.