Learn how to start using the A1Base API
Get your API keys
Set up your key variables
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
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" }'
Build your AI Agent logic around it