Quickstart
Get up and running with the Netomi API in under 5 minutes.
Never expose your API key in client-side code, browser requests, or public repositories. Store it as an environment variable and rotate it from the Netomi Dashboard under Settings β API Keys if it is ever compromised.
Step 1: Get your API keyβ
Log in to your Netomi dashboard and navigate to Settings β API Keys. Copy your key β you will use it in every request.
Step 2: Send your first messageβ
Use the /v1/conversations endpoint to start a conversation with an AI agent.
curl -X POST https://api.netomi.com/v1/conversations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "agent_abc123",
"message": "I need help tracking my order",
"user_id": "user_001"
}'
Example response:
{
"conversation_id": "conv_xyz789",
"status": "active",
"reply": {
"text": "Sure! Please share your order number and I'll look that up for you.",
"confidence": 0.97
}
}
Step 3: Process the response in Pythonβ
The snippet below parses the API response, checks the confidence score, and prints a conversation thread β exactly what you would do in a real integration. Click βΆ Run to execute it live in your browser.
Step 4: Continue the conversationβ
Pass the conversation_id to keep the thread going:
curl -X POST https://api.netomi.com/v1/conversations/conv_xyz789/messages \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"message": "My order number is 445566"
}'
What's next?β
- Authentication β understand token types and expiry
- SDK β use our JavaScript or Python SDK instead of raw HTTP
- API Reference β full list of endpoints
Was this page helpful?