Skip to content

Latest commit

 

History

History
56 lines (48 loc) · 1.78 KB

quickstart.mdx

File metadata and controls

56 lines (48 loc) · 1.78 KB
title description
Quickstart
Learn how to start using the A1Base API
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]. ```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.