Quick Integration Example

Here's how easy it is to add ACT to your AI agent:

⚠️ Authentication Required

All requests to https://api.acttokens.com require:

  • API Key (in X-Api-Key header) - Platform authentication
  • Capability Token (in request body) - Agent authorization

Learn more about authentication →

C# (Custom Agent)

// Use ACT REST API to validate agent actions
var client = new HttpClient();
client.DefaultRequestHeaders.Add("X-Api-Key", "your_api_key");

var request = new {
    requestId = Guid.NewGuid().ToString(),
    capabilityToken = "agent_token",
    action = "send_email",
    resourceId = "api://email/send"
};

var response = await client.PostAsJsonAsync(
    "https://api.acttokens.com/v1/enforce", request);

if (response.IsSuccessStatusCode) {
    var result = await response.Content
        .ReadAsAsync<object>();
    // Check decision and execute action
}

Ready to Integrate?

Start securing your AI agents in minutes