▪️Activity: WebHook
Smartico platform can make HTTP-API callbacks to your platform initiated by any activity in the system.
For example, you can notify your system using an HTTP POST call every time the user gets a Mini-game spin attempt, upgraded in levels, purchased in the store, started, or converted in a specific campaign. Any event happening in the context of the user can be used as a trigger for the API call.
There are 3 main places where you can initiate the API call:
as part of the campaign journey, you can use a special block called "WebHook"
as part of the automation rule, you can select the activity "WebHook"
as part of a mission, you can select the activity "WebHook" as a mission activity or as a task reward
All of them work the same way, but giving you the possibility either to build a simple "if-this-do-api-call" scenario using Automation rules, or trigger API calls as part of the complex marketing flow activity.

As part of the WebHook setup you need to set:
HTTP URL of your API endpoint
Method — GET (default), POST, or PUT. POST is recommended for sending JSON payloads.
Content type — application/json, x-www-form-urlencoded, or No data (empty), depending on your API endpoint requirements.
Body (for POST and PUT methods) — where you construct the request payload using dynamic tags such as player profile attributes (e.g. {{state.user_ext_id}}) or event properties (e.g. {{event.amount}}).
Additional HTTP headers — optional custom headers formatted as a valid JSON object (for example,
{"Authorization": "Bearer token123"}). You can also use dynamic tags within header values.
Example of the POST body structured as JSON for the trigger "Mini-game spin issued"
For testing purposes, you can use the Smartico Echo service, where you can do test API calls and see how the results are passed via API.
You can send GET or POST requests to the URL like https://img.smr.vc/echo-send/some-secret-123/
And you can see the last 100 POST requests using the URL like https://img.smr.vc/echo-list/some-secret-123/
For the case of "Mini games attempts" you can see real-life examples of API calls on this echo bucket - https://img.smr.vc/echo-list/smartico-secret-x423g4/
Outgoing connections
In a campaign journey, the Web Hook step can have these outgoing connections:

1
Then
Right away, when Smartico starts the step. It does not wait for the result, so it also runs when the step fails later.
2
Executed
Your endpoint answered with a success code (200–299).
3
Failed
The request failed: an error code, a network error or a timeout. Failed does not close the step, so Failed with code... can fire for the same failure too.
4
Failed with code... (shown as Failed with code "404")
The request failed and its failure text contains the value you entered, for example an HTTP code such as 400, 404 or 500. Use it for your own error handling or a retry path.
Monitoring & Delivery Logs
You can track and troubleshoot webhook deliveries in the Back-Office:
CRM > Webhooks log: View the global log of all outbound webhook requests, filterable by date range, user ID/username, originating product or campaign, and HTTP status (Success or Failed).
Campaign / Automation Rule Webhooks Tab: View execution history specific to a given campaign or automation rule under its dedicated operations tab.
HTTP Details: Click any entry to expand it. It shows the Request (URL, method, headers and body) and the Response. The HTTP status code is in the Response code column.
Frequently Asked Questions
Q: Does Smartico automatically retry failed webhook requests?
A: Outbound webhooks are sent once per triggering event. Smartico does not automatically retry failed HTTP requests in Automation Rules. In Campaign Journeys, you can handle failures by connecting the Failed output branch to a Delay activity and routing back to the WebHook activity to build a custom retry flow.
Q: How do I pass authentication tokens (e.g. Bearer or Basic Auth)?
A: Enter your authentication headers in the Additional HTTP headers field as a JSON object, such as {"Authorization": "Bearer token123"}. Ensure the value is valid JSON.
Q: Can I use dynamic player attributes or event properties in the request body and headers?
A: Yes. Use {{state.property_name}} for player profile attributes (e.g. {{state.user_ext_id}}, {{state.user_ext_id_clean}}) and {{event.property_name}} for properties of the triggering event (e.g. {{event.amount}}). In the Body editor, type "{{ (a quote, then two braces) to open the tag suggestions; the tag is added inside quotes. In Additional HTTP headers, type {{.
Q: What is the request timeout for outgoing webhooks?
A: Smartico waits for a reply for the time set in the Webhook request timeout, seconds label setting (default: 10 seconds; ask your Success manager to change it). A GET request waits at most 6 seconds. If there is no reply in time, the call fails. Ensure your destination endpoint responds promptly.
Q: Is the WebHook activity used to receive data from external systems?
A: No. The WebHook activity is strictly for outbound HTTP API calls sent from Smartico to your platform. To push data into Smartico, use the Smartico REST API or Data Warehouse integration.
Q: Can I send the player's real email address and phone number in a webhook?
A: Yes, when the Allow {{state.user_email}} and {{state.user_phone}} in the WebHooks setting in Label settings is on; ask your Success manager to change it. Then the {{state.user_email}} and {{state.user_phone}} tags in the URL, headers and body are replaced with the real email address and phone number. While the setting is off, these tags give encrypted values.
Last updated
Was this helpful?