Re-execute a triggered reaction

post
Re-execute a triggered reaction

https://api.serialized.io/reactions/triggered/:reactionId/execute
This endpoint allows you to re-execute an already executed reaction.
Request
Response
Request
Path Parameters
reactionId
required
string
ID of the reaction to re-execute.
Headers
Serialized-Access-Key
required
string
Serialized access key
Serialized-Secret-Access-Key
required
string
Serialized secret key
Response
200: OK
Reaction successfully executed.

Example

cURL
Java
C#
Node
cURL
curl -i \
--header "Serialized-Access-Key: <YOUR_ACCESS_KEY>" \
--header "Serialized-Secret-Access-Key: <YOUR_SECRET_ACCESS_KEY>" \
-X POST https://api.serialized.io/reactions/triggered/52cb6e32-e3f3-40f3-b06f-a19a08fbc19f
Java
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
Client client = ClientBuilder.newClient();
URI apiRoot = URI.create("https://api.serialized.io");
Response response = client.target(apiRoot)
.path("reactions")
.path("triggered")
.path("52cb6e32-e3f3-40f3-b06f-a19a08fbc19f")
.request()
.header("Serialized-Access-Key", "<YOUR_ACCESS_KEY>")
.header("Serialized-Secret-Access-Key", "<YOUR_SECRET_ACCESS_KEY>")
.post(Entity.json("");
C#
using RestSharp;
using System;
var client = new RestClient("https://api.serialized.io");
var request = new RestRequest("reactions/triggered/{reactionId}", Method.POST)
.AddUrlSegment("reactionId", "52cb6e32-e3f3-40f3-b06f-a19a08fbc19f")
.AddHeader("Serialized-Access-Key", "<YOUR_ACCESS_KEY>")
.AddHeader("Serialized-Secret-Access-Key", "<YOUR_SECRET_ACCESS_KEY>");
var response = client.Execute<Dictionary<string, Object>>(request);
Node
const axios = require("axios");
const client = axios.create({
baseURL: "https://api.serialized.io",
headers: {"Serialized-Access-Key": "<YOUR_ACCESS_KEY>"},
headers: {"Serialized-Secret-Access-Key": "<YOUR_SECRET_ACCESS_KEY>"}
});
client.post("reactions/triggered/52cb6e32-e3f3-40f3-b06f-a19a08fbc19f")
.then(function (response) {
// Handle response
})
.catch(function (error) {
// Handle error
});