Skip to content

API & Integrations

The API & Integrations tab allows administrators to manage API keys for external integrations and configure webhooks for real-time event notifications.

API & Integrations Settings Tab

API keys allow external applications to interact with TextFlow programmatically.

Your existing API keys are displayed in a list showing:

  • Key prefix - First few characters for identification (e.g., t1)
  • Environment - Production or Test
  • Masked key - Hidden for security
  • Last used - When the key was last used, or “Never”
  1. Click New API Key
  2. Enter a descriptive name (e.g., “CRM Integration”)
  3. Select the environment:
    • Production - For live applications
    • Test - For development and testing
  4. Click Create
  5. Copy the key immediately - It won’t be shown again

Click the delete button next to any key to revoke it. This immediately invalidates the key and any applications using it will stop working.

  • Never share API keys in public repositories
  • Use test keys during development
  • Rotate production keys periodically
  • Use separate keys for different integrations
  • Delete unused keys promptly

Webhooks allow TextFlow to send real-time notifications to your applications when events occur.

  1. Click Add Webhook
  2. Enter your endpoint URL (must be HTTPS)
  3. Select which events to receive:
    • Message sent
    • Message delivered
    • Message failed
    • Inbound message received
    • Contact opted out
    • Contact opted in
  4. Click Save

Webhook requests are sent as POST requests with a JSON payload containing:

  • Event type
  • Timestamp
  • Event-specific data
  • Signature for verification

Use the test button to send a sample payload to your endpoint. This helps verify your integration before going live.

Each webhook request includes a signature header for verification. See the Webhooks documentation for implementation details.