Skip to main content
Needs a key with Read and manage prompts access. Counts against the write limit of 20 requests a minute.
Switch prompts on or off. Disabled prompts stop being asked but keep their answer history. Activating counts against the plan’s cap; a request that would exceed it is refused whole with 422 prompt_limit_reached. The API never deletes a prompt. Deleting would erase its answer history and the before-and-after measurements of any Action Center card that targeted it, so “stop tracking” is always disabled.

Path parameters

string
required
The site’s id, from List sites.

Body

string[]
required
1 to 500 prompt ids.
enum<string>
required
One of: active, disabled.
boolean
default:false
Validate and report without writing.

Response

boolean
string[]
Ids whose status changed.
string[]
Ids that already had that status.
string[]
Ids that are not prompts of this site.