1
Sign up or log in
If you don’t already have a Botsify account, go to app.botsify.com and create one. The free tier is sufficient to follow this guide.Once your account is active, note the email address and password you used — you’ll need them in the next step to obtain API credentials.
2
Authenticate and get your access token
All Botsify API requests require authentication. The quickest way to get started is to exchange your email and password for an access token via the login endpoint.A successful response returns your credentials:Save the
access_token — you’ll pass it as a Bearer token in the Authorization header for every subsequent request. The client_id and client_secret are used for OAuth2 flows; see the Authentication page for details.Treat your
access_token, client_id, and client_secret like passwords. Never commit them to source control or expose them in client-side code.3
Create your first bot
With your access token in hand, create a new bot. You choose a display name and an agent type — The response includes a Copy the
chatbot, agent, or voice. For this quickstart, use agent to get full AI capabilities.bot_key and a bot_id that uniquely identify your new bot:bot_key — it’s the primary identifier you’ll use when sending messages to this bot.The
agent_type field accepts three values: chatbot for structured flow-based bots, agent for fully AI-driven agents, and voice for voice-enabled bots. You can’t change the type after creation, so choose carefully.4
Send your first conversation message
Now send a message to your bot using the The bot processes the message and returns a response:Every subsequent message you send with the same
/converse endpoint. Each user is identified by a fbId — a string you define that uniquely represents a user in your system (a user ID, session token, or any opaque identifier works fine).bot_key and fbId pair is treated as a continuation of the same conversation, so the bot maintains context across turns automatically.What’s Next?
You’ve authenticated, created a bot, and had a live conversation through the API. Here are some natural next steps:Authentication
Explore OAuth2 and API key auth methods for different integration patterns.
Agent Versions
Learn how to version your agent configuration for safe iteration.
User Attributes
Attach custom data to users for personalized conversations.
