Rules
Create a rule
post/v1/rules
Request
- Base URL: https://www.layercall.com
- URL: https://www.layercall.com/v1/rules
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Request body
object required
Response
Success
Example response
{
"added": 1,
"rules": [
{
"action": "block",
"created_at": "2026-08-06T23:43:32.323+00:00",
"id": "11111111-2222-3333-4444-555555555555",
"kind": "domain",
"value": "mailinator.com"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.