POST
/
api
/
v1
/
monitors
/
create
/
schema
curl --request POST \
  --url https://app.datafold.com/api/v1/monitors/create/schema \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "connection_id": 123,
  "description": "<string>",
  "enabled": true,
  "name": "<string>",
  "notifications": [
    {
      "features": [
        "attach_csv"
      ],
      "recipients": [
        "<string>"
      ],
      "type": "email"
    }
  ],
  "schedule": {
    "interval": {
      "every": "<string>",
      "type": "hourly"
    }
  },
  "table": "<string>",
  "tags": [
    "<string>"
  ]
}'
{
  "id": 123
}

Authorizations

Authorization
string
header
required

Use the 'Authorization' header with the format 'Key <api-key>'

Body

application/json

Response

200
application/json
Successful Response

The response is of type object.