Skip to content

HelpvanePromptController_list

GET
/v1/admin/prompts
curl --request GET \
--url 'https://example.com/v1/admin/prompts?status=active' \
--header 'Authorization: Bearer <token>'
page
number
search
string
size
number
sort
string
status
string
Allowed values: active draft inactive

OK (200) - X-Total-Count header carries the total

Media typeapplication/json
Array
One of:
object
createdAt
required
string format: date-time
createdBy
string
id
required
string
updatedAt
required
string format: date-time
updatedBy
string
content
string
name
required
string
revision
required
number
ruleMatch
string
Allowed values: all any
rules
Array<object>
object
operator
required
string
Allowed values: equals notEquals
property
required

Dot path into the visitor context

string
value
required
string
status
required
string
Allowed values: active draft inactive

Example

[
{
"ruleMatch": "all",
"rules": [
{
"operator": "equals"
}
],
"status": "active"
}
]

Unauthorized (401)

Forbidden (403)

Unprocessable Entity (422)

Internal Server Error (500)