POST
/
platform
/
validation
/
templates
Create Template
curl --request POST \
  --url https://sandbox.axle.insure/platform/validation/templates \
  --header 'Content-Type: application/json' \
  --header 'x-client-id: <x-client-id>' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "displayName": "Example Template",
  "rules": [
    {
      "rule": "example-rule"
    },
    {
      "rule": "example-rule-with-input",
      "input": {
        "date": "2025-01-01"
      }
    }
  ]
}'
{
  "success": true,
  "data": {
    "id": "<string>"
  }
}

Authorizations

x-client-secret
string
header
required

Your secret API key. This will be shared with you during onboarding and should be considered sensitive - it’s a password after all! Your secret will be matched with your client ID to authenticate your requests.

Headers

x-client-id
string
required

Your client ID. This will be shared with you during onboarding.

Body

application/json

Response

200
application/json