Skip to main content
GET
/
api
/
v1
/
public
/
quests
/
{estabelecimento_ref}
/
active
Obter pesquisa pública ativa por estabelecimento
curl --request GET \
  --url https://api.indiqai.com/api/v1/public/quests/{estabelecimento_ref}/active
{
  "empresa_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "quest_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "research": {},
  "already_responded_message": "<string>",
  "already_responded_today": false,
  "cta_google_configured": false,
  "description": "<string>",
  "estabelecimento_nome": "<string>",
  "estabelecimento_slug": "<string>",
  "next_response_available_at": "2023-11-07T05:31:56Z",
  "primary_color": "<string>",
  "profile_picture": "<string>",
  "reward_name": "<string>",
  "survey_type": "custom",
  "valid_until": "2023-12-25"
}

Documentation Index

Fetch the complete documentation index at: https://docs.indiqai.com/llms.txt

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

Quest Ativa por Estabelecimento

Retorna a quest pública ativa para o estabelecimento informado. Se não houver quest ativa, o endpoint retorna resposta sem item disponível.

Headers

X-Public-Quest-Visitor-Id
string | null

Path Parameters

estabelecimento_ref
string
required

Response

Successful Response

Quest pública ativa para um estabelecimento.

empresa_id
string<uuid>
required
name
string
required
quest_id
string<uuid>
required
research
Research · object
required
already_responded_message
string | null

Mensagem amigável para bloqueio diário de resposta pública

already_responded_today
boolean
default:false

Indica se este navegador já respondeu uma pesquisa da empresa no dia atual

cta_google_configured
boolean
default:false

Se empresa possui URL Google configurada

description
string | null
estabelecimento_nome
string | null

Nome público da empresa

estabelecimento_slug
string | null

Slug público da empresa

next_response_available_at
string<date-time> | null

Data/hora em que uma nova resposta pública poderá ser enviada

primary_color
string | null

Cor primária da empresa

profile_picture
string | null

Logo da empresa

reward_name
string | null

Nome legível do prêmio da pesquisa

survey_type
enum<string>
default:custom
Available options:
standard_csat_nps,
custom
valid_until
string<date> | null