Content Actions
Endpoints for executing custom actions and navigations on content items.
Base URL: https://api.contit.cloud
GET
/actions/{contentTypeKey}/{contentId}/{actionId}/execute
Execute action
Execute a custom action defined on a content type for a specific content item.
Requires
ReadAccess policy
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
contentTypeKey |
string | ✓ | The content type key |
contentId |
string | ✓ | The content item ID (GUID) |
actionId |
string | ✓ | The action identifier |
Responses
200
Success — action executed
result |
object | Action-specific result data |
401
Unauthorized
404
Not Found — content or action does not exist
Code examples
curl -X GET "https://api.contit.cloud/actions/{contentTypeKey}/{contentId}/{actionId}/execute" \
-H "X-Api-Key: YOUR_API_KEY"
using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "YOUR_API_KEY");
var response = await http.GetAsync("https://api.contit.cloud/actions/{contentTypeKey}/{contentId}/{actionId}/execute");
response.EnsureSuccessStatusCode();
var json = await response.Content.ReadAsStringAsync();
const response = await fetch(
"https://api.contit.cloud/actions/{contentTypeKey}/{contentId}/{actionId}/execute",
{
method: "GET",
headers: {
"X-Api-Key": "YOUR_API_KEY",
}
}
);
const data = await response.json();
import requests
headers = {"X-Api-Key": "YOUR_API_KEY"}
response = requests.get(
"https://api.contit.cloud/actions/{contentTypeKey}/{contentId}/{actionId}/execute",
headers=headers
)
data = response.json()
Example Request
GET /actions/Article/a1b2c3d4-e5f6-7890-abcd-ef1234567890/send-notification/execute
Example Response
200
{
"result": {
"status": "completed",
"message": "Notification sent successfully"
}
}
Try it
Live
curl
Response