Skip to main content
POST
/
filters
Create a new filter
curl --request POST \
  --url http://localhost:8080/api/v1/filters \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "attributes": {
      "description": "<string>",
      "name": "<string>",
      "script": [
        123
      ]
    },
    "type": "<string>"
  }
}
'
{
  "attributes": {
    "description": "<string>",
    "name": "<string>",
    "script": [
      123
    ]
  },
  "id": "<string>",
  "type": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json

Filter input

Filter input model

data
object

Response

Created

Filter response model

attributes
object
id
string
type
string