Skip to content

Read a zone's Ask settings

GET/api/public/v1/zones/{zone_id}/ask-settings beta

The zone's own Ask delivery and Ask behaviour, null where it inherits, and the settings its Asks follow with the zone each comes from.

Terminal window
curl --fail-with-body -X GET 'https://app.openlatch.ai/api/public/v1/zones/<zone_id>/ask-settings' \
-H "Authorization: Bearer $OPENLATCH_API_KEY"
Role in the organizationThis endpoint
ownerAllowed
adminAllowed
editorAllowed
viewerAllowed

A key carries the role its owner holds in the organization. See Authentication.

API key scope: zones:read

ParameterTypeDescription
zone_idstring (uuid)Required.
FieldTypeDescription
dataobjectRequired. The zone's own Ask delivery and Ask behaviour (`null` inherits), and what its Asks follow.
data.ask_behaviourstring or null
data.ask_modestring or null
data.effectiveobjectRequired.
data.effective.ask_behaviourstringRequired.
data.effective.ask_modestringRequired.
data.effective.ask_mode_from_zone_idstring or null
data.effective.from_zone_idstring or null
{
"data": {
"ask_behaviour": "string",
"ask_mode": "string",
"effective": {
"ask_behaviour": "string",
"ask_mode": "string",
"ask_mode_from_zone_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"from_zone_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10"
}
}
}