- REST APIs: Call any HTTP endpoint with custom payloads
- Webhooks: Trigger external services when blockchain events occur
- Database queries: Connect to external data sources
- Cloud functions: Invoke serverless functions on AWS, GCP, or Azure
- External services: Integrate with any service exposing an API
Configuration
API actions useType: post to make HTTP requests:
Configuration fields
| Field | Required | Description |
|---|---|---|
| Name | Required | Unique identifier for this action |
| Type | Required | Set to post for HTTP requests |
| APIEndpoint | Required | The URL to send the request to |
| APIPayload | Optional | JSON payload for the request body |
| Metadata | Optional | Description of the API call |
| RetriesUntilSuccess | Optional | Retry attempts on failure |
Common integrations
Telegram notifications
You can use Kwala to send messages to Telegram chats or channels. The Telegram notification automation use case shows this integration in detail:Discord webhooks
Kwala supports Discord webhooks that enable sending messages to Discord channels. The following example from the Cryptocurrency deposit alerts use case demonstrates it:Custom webhooks
The following example shows how you can trigger any webhook endpoint with dynamic event data:re.event() syntax:
re.event(0) returns the full transaction receipt which you can parse in your backend. For more details on dynamic data extraction, see Functions.
Use cases
The following use case demonstrate API integrations in action:Telegram notification automation
Send automated Telegram alerts
Cryptocurrency deposit alerts
Post Discord notifications on deposits
