Overview
This guide will walk you through creating your first API integration using AnyAPI.ai. You’ll learn how to:- Get your API key
- Create a connection
- Execute your first workflow
- View results
Prerequisites: You’ll need an AnyAPI.ai account. Sign up for free if you haven’t already.
Step 1: Get Your API Key
1
Access Dashboard
Navigate to your AnyAPI.ai dashboard
2
Go to API Keys
Click on Settings → API Keys in the sidebar
3
Create New Key
Click “Create API Key” and give it a descriptive name like “My First Integration”
4
Copy Key
Copy the generated API key and store it securely
Keep your API key secure! Never commit it to version control or expose it in client-side code.
Step 2: Create Your First Connection
Let’s create a connection to the JSONPlaceholder API (a free testing API):connection_id
from the response - you’ll need it for the next step.
Step 3: Create a Simple Workflow
Now let’s create a workflow that fetches user data from the JSONPlaceholder API:Step 4: Execute the Workflow
Execute your workflow to see it in action:Expected Result
If everything worked correctly, you should see a response like this:🎉 Congratulations!
You’ve successfully: ✅ Created your first API connection✅ Built a simple workflow
✅ Executed the workflow and received data
Next Steps
Authentication
Set up secure authentication for popular APIs
API Reference
Explore all available endpoints and parameters
Interactive Playground
Want to test this right now? Use our interactive playground below:The playground will use your actual API key if you’re logged into the dashboard. Make sure you’re using a test environment!
Troubleshooting
401 Unauthorized Error
401 Unauthorized Error
Connection Failed
Connection Failed
Verify the base URL is correct and the target API is accessible. You can test the connection using the
/connections/{id}/test
endpoint.Workflow Execution Failed
Workflow Execution Failed
Check the workflow configuration and ensure the connection ID is valid. Review the error details in the response.
Rate Limiting
Rate Limiting
If you’re hitting rate limits, consider upgrading your plan or implementing delays between requests.
Need Help?
- Join our Discord community
- Contact Support