Visit the Thrads Platform
Manage your chatbots, API keys, and analytics
Get Your API Key
- Go to the Thrads Platform and sign up as a publisher.
Access is currently limited to approved partners. After signing up, your application will be reviewed within 24 hours. Once approved, you can create your chatbot instance and generate API keys from the platform dashboard.
- Once approved, create a chatbot in the platform and you’ll be provided a staging API key to test your integration.
- When you’re ready to go live, contact us at contact@thrads.ai and you’ll be provided a production API key.
Authentication
All API requests require authentication using an API key in the request header:Staging vs. Production
Use your staging API key during development and your production API key in your live environment.-
Staging key:
- Ads are returned for testing purposes but are not counted for monetization
- An ad will be served on every request to facilitate testing and integration
-
Production key:
- Ads are live and contribute to monetization
- You may receive
"bid": nullresponses when no winning bid is found
Implementation Flow
Call Thrad Bid Request API
Send the full conversation history to the Thrad bid request endpoint. Always include all messages from the session — the API uses the full context to select the most relevant ad.
Handle Response
- If bid is returned: Render the ad creative
- If no bid: Continue without showing an ad
- If error: Log for debugging and continue without ad
Render Ad Creative
Display the ad in your UI. See the Rendering Ads guide for templates and best practices.
Rate Limits
The API supports up to 40 requests per second per API key. Rate limit information is included in response headers:X-RateLimit-Limit: Maximum requests per secondX-RateLimit-Remaining: Requests remaining in current windowX-RateLimit-Reset: Unix timestamp when window resets
Response Format
All API responses follow a standardized format:Guides
- Publisher Configuration — pacing, creative constraints, and experiments
- Ad Formats & Rendering — available formats, response handling, and rendering
- Best Practices — timeouts, error handling, rate limits, and more
- Tracking & Viewability — impression and click tracking for web and mobile
- API Reference — full parameter documentation
