Custom Actions
Operations related to Custom Actions, the plugins that execute bespoke logic within Marketing Automation scenarios to trigger unique actions not native to the platform. Enable integration of custom workflows such as:
Sending SMS messages
Updating CRM or support tickets
Calling internal APIs
Triggering webhooks
Interacting with third-party systems
Relevant documentation:
The custom action id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/scenario_custom_actions/{custom_action_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": [
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
],
"count": 1
}The custom action id
falsefalseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/scenario_custom_actions/{custom_action_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}{
"status": "ok",
"data": {
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
}The custom action id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/scenario_custom_actions/{custom_action_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"group_id": "text",
"artifact_id": "text",
"name": "text",
"organisation_id": "text",
"version_value": "text",
"created_by": "text",
"id": "text",
"creation_ts": 0,
"version_id": "text"
}
}The custom action id
0Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/scenario_custom_actions/{custom_action_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 79
{
"group_id": "text",
"artifact_id": "text",
"name": "text",
"organisation_id": "text"
}{
"status": "ok",
"data": {
"group_id": "text",
"artifact_id": "text",
"name": "text",
"organisation_id": "text",
"version_value": "text",
"created_by": "text",
"id": "text",
"creation_ts": 0,
"version_id": "text"
}
}The custom action id
Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/scenario_custom_actions/{custom_action_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}The organisation owning the plugin custom action
The community owning the custom action
The name of the plugin instance
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/scenario_custom_actions HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"total": 1,
"first_result": 1,
"max_results": 1,
"data": [
{
"group_id": "text",
"artifact_id": "text",
"name": "text",
"organisation_id": "text",
"version_value": "text",
"created_by": "text",
"id": "text",
"creation_ts": 0,
"version_id": "text"
}
],
"count": 1,
"status": "ok"
}0Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/scenario_custom_actions HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 79
{
"group_id": "text",
"artifact_id": "text",
"name": "text",
"organisation_id": "text"
}{
"status": "ok",
"data": {
"group_id": "text",
"artifact_id": "text",
"name": "text",
"organisation_id": "text",
"version_value": "text",
"created_by": "text",
"id": "text",
"creation_ts": 0,
"version_id": "text"
}
}Update The custom action property
The custom action id
The property technical name
falsefalseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/scenario_custom_actions/{custom_action_id}/properties/technical_name={technical_name} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}{
"status": "ok",
"data": {
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
}Last updated
Was this helpful?