Browse documentation

Developer guide

Launch checklist

Validate your integration with a minimal real business flow. This is a review checklist, not an automated health report.

Checks for every integration

  • Environment: API URL, account, resources, and credentials belong to the intended brand and environment.
  • Permissions: use the appropriate runtime credential rather than a long-lived account JWT.
  • Rotation: keep secrets on the server and verify that your service works after replacement.
  • Recovery: distinguish authentication, permission, rate-limit, and transient failures; use bounded backoff retries.
  • Observability: correlate requests with business outcomes without logging secrets.

Bots & event delivery

  • The bot is approved, enabled, and in the target conversation; test commands, mentions, and replies under group privacy rules.
  • Choose webhooks or getUpdates; stop the old consumer when switching modes.
  • Use HTTPS webhooks, verify the timestamp and raw body signature, and deduplicate Updates before business processing.
  • Advance polling offsets using update_id; test restarts and reconnects without losing received but unprocessed events.
  • Trigger a controlled delivery failure and verify delivery logs, retries, and the recovered business outcome.

Webhook · Polling guide · Quotas

Applications & vouchers

  • Confirm the application is active, templates are approved, scopes match operations, and origin policies permit your caller.
  • Use the API idempotency contract. Retry a timed-out request and verify there is no duplicate issuance or fulfillment.
  • Test invalid, expired, and already redeemed vouchers, plus recovery when fulfillment fails after redemption. Reversal requires permission.
  • If request encryption is required, verify both encryption and decryption before launch.

API and auth · Request encryption

Keep reproducible acceptance evidence

Record the environment, resource IDs, time, redacted requests, response status, and business outcome. Keep request IDs or Update IDs for troubleshooting. Exclude full tokens, passwords, and private visitor data.

Diagnose failures by symptom. A timeout does not prove an operation failed; check its outcome and idempotency rules before retrying. Open troubleshooting →