Create a new custom endpoint for the current account.
Returns 409 if the account has reached the endpoint limit, or if a conflicting (account_id, path, method) combination already exists. Returns 422 if the path is invalid or conflicts with a built-in route.
Request body for creating a custom endpoint.
Human-readable name
1 - 200URL path starting with /. Supports :param segments (e.g. /users/:user_id/orders). Must not shadow built-in routes.
HTTP method
GET, POST, PUT, PATCH, DELETE Optional description
Whether a valid auth token is required (default: true)
Optional rule expression; request denied (403) if it evaluates False
Ordered list of action configs to execute sequentially
HTTP response template: {"status": 200, "body": {...}, "headers": {...}}. Supports {{template}} variables from request context and action results.
Whether the endpoint is active on creation
Successful Response
Response schema for a single custom endpoint.