POST /v1/spending-rules/ruleId/conditions
Endpoint
Section titled “Endpoint”POST /v1/spending-rules/{ruleId}/conditions
Authentication
Section titled “Authentication”No authentication required.
Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
ruleId | string | Yes | - |
Request Body
Section titled “Request Body”{}cURL Example
Section titled “cURL Example”curl -X POST "https://api.sapiom.ai/v1/spending-rules/{ruleId}/conditions" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'