Skip to main content

Quickstart

This guide makes your first authenticated call and then reads a lead's conversation.

1. Set your API key

export ABC_API_KEY="your_api_key_here"

2. Verify your credentials

Fetch the company associated with your API key:

curl https://api.abcsalesbot.com/v1/companies/me \
-H "Authorization: Bearer $ABC_API_KEY"

3. Read a lead's conversation

curl "https://api.abcsalesbot.com/v1/leads/{leadID}/conversations" \
-H "Authorization: Bearer $ABC_API_KEY"

4. Send a reply

curl -X POST "https://api.abcsalesbot.com/v1/leads/{leadID}/conversations/reply" \
-H "Authorization: Bearer $ABC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "Thanks for reaching out! How can we help?",
"messaging_channel_connection_id": 123
}'

See the API Reference for every endpoint, its parameters, and response schemas.