Getting Started
Get started with the Prediko API by creating an API key and making your first request.
Prerequisites
Section titled “Prerequisites”- A Prediko account with API access enabled
- Basic familiarity with REST APIs
Quick Start
Section titled “Quick Start”-
Get your API key
Create an API key from your Prediko Dashboard under Settings > API Keys.
See Authentication for details on key format and security best practices.
-
Make your first request
-
Explore the response
Request Examples
Section titled “Request Examples”curl -X GET "https://api.prediko.io/api/v1/orders" \ -H "Authorization: Bearer YOUR_API_KEY"import requests
response = requests.get( "https://api.prediko.io/api/v1/orders", headers={"Authorization": "Bearer YOUR_API_KEY"})
print(response.json())const response = await fetch( "https://api.prediko.io/api/v1/orders", { headers: { "Authorization": "Bearer YOUR_API_KEY" } });
const data = await response.json();console.log(data);Example Response
Section titled “Example Response”{ "data": [ { "name": "PO-001", "status": "CONFIRMED", "supplier_name": "Acme Corp", "delivery": "2025-02-15", "order_type": "FINISHED_GOOD" } ], "total": 50}Next Steps
Section titled “Next Steps”- API Reference - Explore all available endpoints
- Code Examples - Copy-paste examples for common tasks
- Error Handling - Handle errors gracefully