Quick Start Your First Call
Quick Start Your First Call
Complete your first Routescope API call from scratch
This quick start focuses on the minimum path for a successful API call: understand the core terms, copy the Base URL and API Key, find an available model ID, run a curl request, and use the console to troubleshoot if something fails.
Recommended Reading Order
- API Basics: understand API, Base URL, API Key, model ID, and protocol boundaries.
- Get Base URL and API Key: copy the endpoint and create a business token.
- List Available Models: find model IDs available to the current token.
- First curl Call: verify model listing and make one chat completion request.
- Common Errors: troubleshoot authentication, permission, model, parameter, timeout, and rate-limit issues.
API Basics
Learn the relationship between API, Base URL, API Key, model ID, and protocol.
Base URL and API Key
Copy the access endpoint from the console and create a business token.
Available Models
Use the model gallery or model list endpoint to find callable model IDs.
First curl Call
Verify the model list and send your first chat completion request.
Common Errors
Fix first-integration issues around auth, balance, model access, parameters, timeout, and rate limits.
How is this guide?
Last updated on