Skip to main content

Flowent API Gateway Specification

The Flowent API Gateway provides a REST API for registering and managing custom actions. All endpoints require JWT authentication obtained by exchanging your API token.

Authentication

All API endpoints are authenticated using Bearer tokens:
curl -X GET https://your-flowent-instance.com/api/v1/gateway/actions \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
To obtain a JWT token, exchange your API token first:
curl -X POST https://your-flowent-instance.com/api/v1/gateway/token/exchange \
  -H "Content-Type: application/json" \
  -d '{"api_token": "your-api-token"}'

Endpoints

Authentication

  • POST /api/v1/gateway/token/exchange - Exchange API token for JWT

Actions

  • GET /api/v1/gateway/actions - List all actions
  • POST /api/v1/gateway/actions - Register a new action
  • GET /api/v1/gateway/actions/{action_name} - Get action details
  • PUT /api/v1/gateway/actions/{action_name} - Update an action
  • DELETE /api/v1/gateway/actions/{action_name} - Delete an action
For detailed information, see the API Concepts documentation.