Pause a display

Pause a live popup or other display so visitors stop seeing it.

POST https://cotlet.dev/api/v1/privy/displays/{display_id}/pause

write

Does what Pause does in the Displays menu: the display stops appearing on your site and is not deleted. It reaches no visitor and launch_display undoes it, so it does not wait for your OK.

Parameters

Parameters: pause_display
NameTypeDescription
display_id string required string Display to pause (id from list_displays)

Request

cURL
curl -X POST https://cotlet.dev/api/v1/privy/displays/dsp_19a4/pause \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("privy", "pause_display", {"display_id":"dsp_19a4"})
Node.js
const result = await cotlet.call('privy', 'pause_display', {"display_id":"dsp_19a4"});
CLI
cotlet call privy pause_display --data '{"display_id":"dsp_19a4"}'

Example response

JSON

{
  "display_id": "dsp_19a4",
  "title": "Exit offer",
  "status": "paused"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.