cURL
curl --request POST \ --url https://api.camelai.com/api/v1/iframe/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "uid": "<string>", "srcs": [ "<string>" ], "ttl": 900, "knowledge_base_entries": [ "<string>" ], "reference_queries": [ {} ], "model": "gpt-5", "response_mode": "full", "theme": {}, "theme_id": 123 }'
{ "iframe_url": "<string>", "cache_key": "<string>", "expires_in": 123 }
Creates a secure iframe link with a cached JWT token.
API key authentication using Bearer scheme
The response is of type object.
object
Was this page helpful?