Skip to main content
POST
/
dynamic_cta
Retrieve the CTA for a query
curl --request POST \
  --url https://api.webless.ai/dynamic_cta \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "What does Webless do?",
  "company": "YOUR_COMPANY",
  "requestId": "1f7c5f74-7b9e-4a0a-9b7d-4e3e2a5e3b60",
  "sessionId": "a1c2d3e4-1111-2222-3333-444455556666"
}
'
{
  "text": "<string>",
  "url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.webless.ai/llms.txt

Use this file to discover all available pages before exploring further.

Call this after you create the requestId for the user action. The response returns the CTA text and target URL for that same context.

Body

application/json
query
string
required
Example:

"What does Webless do?"

company
string
required
Example:

"YOUR_COMPANY"

requestId
string
required
Example:

"1f7c5f74-7b9e-4a0a-9b7d-4e3e2a5e3b60"

sessionId
string
required
Example:

"a1c2d3e4-1111-2222-3333-444455556666"

Response

CTA result

text
string
url
string<uri>