POST
/
api
/
v1
/
iframe
/
create
Create iframe link
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
}

Authorizations

Authorization
string
header
required

API key authentication using Bearer scheme

Body

application/json

Response

200
application/json

The response is of type object.