Create a gateway trigger
Creates a new gateway trigger for API endpoint management. A gateway trigger establishes an HTTP endpoint that can be accessed from outside the system and routes requests to appropriate handlers.
Usage Notes:
- The system automatically generates a unique topic for your gateway trigger
- Default timeout is 30 seconds (30000ms) if not specified
- Gateway mappings define the HTTP method, path, and access controls
- Setting
is_public: trueallows the endpoint to be accessed without authentication - Rate limits can be configured per endpoint
- After creation, the gateway endpoint is immediately available for traffic
- The response includes the full subject identifier which may be needed for other operations
Authorizations
JWT token for authentication. Required for all API operations to verify identity and access permissions.
Body
Unique name identifier for the trigger. Used to construct the trigger's topic and subject.
"my-gateway-trigger"
Must be 'gateway' for this endpoint. Determines the trigger's behavior and available properties.
gateway "gateway"
Logical grouping the trigger belongs to. Used for organizing and filtering triggers.
"my-collection"
Human-readable description explaining the trigger's purpose and function.
"Trigger for API gateway endpoint"