API key for authenticating requests to the Thrads API. You can obtain your API key from the Thrads Platform dashboard.
Request model for sponsored chatbot messages with required conversation context and targeting options
Unique identifier for the user requesting the sponsored message. Must be the same for the same user across all conversations.
100Unique identifier for the chat session or conversation. Must be the same across the same conversation.
100Required conversation context MUST contain exactly two fields: 'user' and 'chatbot', both populated with strings representing the latest message exchange
Geographic region of the user for localized ad targeting. Should be an ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'DE', 'JP')
Additional context about user interests, conversation topic, or targeting preferences
If set to true it forces the ad generation regardless of frequency limits or other constraints. If set to false it inhibits the ad generation. Default is set to null which does not affect the ad generation
Number of conversation turns to wait before showing the first ad
0 <= x <= 20Number of turns to wait before showing the next ad
0 <= x <= 20Whether this is a production request (true) or sandbox/testing (false). Only production requests count for monetization.
Version of the Thrads API being used
Unique identifier for this API request for tracking and debugging
ISO 8601 timestamp when the response was generated
URL to the API documentation for reference
Total processing time for the request in seconds
Always 'success' for successful requests
success Human-readable message describing the successful response