sandbox.chatbeep.app
Sandbox tecnico para developers
Esta superficie publica demonstra o fluxo tecnico sem expor dados reais de tenants. Para credenciais e testes produtivos, o parceiro entra no sandbox autenticado do proprio tenant em /app/integrations.
Validar apenas os endpoints maduros publicados em /api/v1.
Usar o token publico do widget para o fluxo do visitante e Bearer apenas no fluxo mobile.
Nao assumir API Keys, OAuth ou webhooks outbound como disponiveis na superficie publica atual.
Usar o OpenAPI e a collection Postman como fonte unica de contrato.
Bootstrap
Quickstart
<script src="https://cdn.chatbeep.app/widget/chatbeep.js" data-api-base="https://chatbeep.app" data-installation-token="pub_demo_installation_token" data-installation-version="widget-loader-2" async></script>
Widget token
pub_demo_installation_token
Mobile bearer
cbp_demo_bearer_token
Visitor bootstrap
curl --request POST \
--url https://chatbeep.app/api/v1/widget/visitors \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"token": "pub_demo_installation_token",
"uuid": "11111111-1111-4111-8111-111111111111",
"name": "Visitor Demo",
"email": "visitor@example.com"
}'
Widget flow
curl --request POST \
--url https://chatbeep.app/api/v1/widget/conversations \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"token": "pub_demo_installation_token",
"visitor_uuid": "11111111-1111-4111-8111-111111111111",
"subject": "Pedido de suporte",
"message": "Preciso de ajuda",
"privacy_accepted": true
}'
Mobile flow
curl --request POST \
--url https://chatbeep.app/api/v1/mobile/login \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"email": "operator@example.com",
"password": "SUA_PASSWORD",
"device_name": "sandbox-cli"
}'
Polling example
curl --request GET \
--url https://chatbeep.app/api/v1/widget/conversations/cb_conv_public_123/messages?token=pub_demo_installation_token&after_id=10 \
--header 'accept: application/json'
OpenAPI e roadmap
A sandbox publica aponta para o contrato oficial em /api/v1. Webhooks outbound, API Keys e OAuth permanecem fora da surface pública atual.
Disponível agora
Health, widget config, visitor bootstrap, conversa pública, timeline e operações mobile autenticadas.
Fora do contrato v1
Webhooks outbound, API Keys server-to-server e OAuth ficam explícitos como futuras capabilities para evitar documentação enganosa.