Skip to content

API Reference

The Dailybot REST API allows you to programmatically manage check-ins, users, teams, messages, and more. All endpoints accept and return JSON, use standard HTTP methods, and require API key authentication.

Base URL

All API requests use the following base URL:

text
https://api.dailybot.com/v1/

Authentication Required

Every request must include your API key in the X-API-KEY header. See the Authentication page for details.

Resources

A API está organizada em torno dos seguintes recursos. Clique em um recurso para ver todos os endpoints disponíveis, parâmetros e exemplos de resposta.

Usuários

5 endpoints

Consulte o diretório do org, obtenha perfis de usuário e atualize metadados.

GETPATCH

Organização

1 endpoint

Consulte a organização à qual a credencial atual está limitada.

GET

Times

7 endpoints

Liste times, gerencie participação, adicione ou remova membros.

GETPOSTPATCHDELETE

Convites

6 endpoints

Convide usuários (plataforma ou guest), liste e gerencie convites pendentes.

GETPOSTPUTDELETE

Check-ins

14 endpoints

Crie, configure e arquive check-ins; gerencie perguntas, agenda, participantes e respostas.

GETPOSTPATCHPUTDELETE

Formulários

15 endpoints

Crie, configure e arquive formulários; gerencie perguntas, fluxo de trabalho e respostas.

GETPOSTPATCHPUTDELETE

Canais de relatório

1 endpoint

Liste canais de chat disponíveis para relatórios em formulários e check-ins.

GET

Modelos

2 endpoints

Consulte modelos pré-construídos de check-in com variáveis renderizadas.

GET

Mensageria

3 endpoints

Envie mensagens do bot para usuários, times e canais; envie e-mails; abra conversas.

POST

Kudos

4 endpoints

Dê kudos, liste kudos, stats do org, leaderboard do mural da fama.

GETPOST

Mood Tracking

1 endpoint

Registre entradas de mood do time como sinal de bem-estar.

POST

Datas importantes

2 endpoints

Liste e consulte datas importantes (aniversários).

GET

Workflows

5 endpoints

Crie, consulte, atualize e delete workflows automatizados.

GETPOSTPATCHDELETE

Webhooks

2 endpoints

Crie assinaturas de webhooks e solicite payloads de exemplo.

POST

Agentes

14 endpoints

Superfície completa do agente: reports, health, messages, email, webhook, claim e auto-registro.

GETPOSTDELETE

OAuth2

2 endpoints

Endpoints de autorização e token para apps de terceiros.

GETPOST

Integrações

2 endpoints

Callbacks de eventos e webhooks usados por integrações de primeira parte.

POST

Commands Platform

14 endpoints

Scheduling, storage, assinaturas de eventos, feed de atividade, exchange tokens.

GETPOSTPUTDELETE

CLI (auth)

7 endpoints

Endpoints CLI-only de autenticação OTP e status.

GETPOST

Common Patterns

Pagination

Most list endpoints use limit/offset pagination. Use limit (default 250, max 250) and offset to navigate pages. Some endpoints (e.g. pending invitations) use page-based pagination with page and page_size (max 100).

Error Codes

The API uses standard HTTP status codes:

CodeStatusDescription
200OKRequest succeeded
201CreatedResource created successfully
204No ContentRequest succeeded, no response body
400Bad RequestInvalid request body or parameters
401UnauthorizedMissing or invalid API key
403ForbiddenInsufficient permissions
404Not FoundResource not found
429Too Many RequestsRate limit exceeded
500Server ErrorInternal server error

Error response format

Errors return a JSON body with detail (human-readable message) and code (machine-readable). Some include extra for context. When rate limited (429), the response includes a Retry-After header.

Rate limits

Authenticated requests: 60 requests/minute. Anonymous requests: 30 requests/minute.

Request Format

All requests must include the following headers:

Standard request headers
curl -X GET "https://api.dailybot.com/v1/{endpoint}/" \
  -H "X-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"