POST
/
v1
/
custom_forms
Creates a custom form
curl --request POST \
  --url https://api.rootly.com/v1/custom_forms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "custom_forms",
    "attributes": {
      "name": "<string>",
      "slug": "<string>",
      "description": "<string>",
      "enabled": true,
      "command": "<string>"
    }
  }
}'
{
  "data": {
    "id": "d30c19a6-210e-4aa4-a791-9b6094e13527",
    "type": "custom_forms",
    "attributes": {
      "slug": "test",
      "name": "Test",
      "description": null,
      "enabled": true,
      "command": "test",
      "created_at": "2025-09-15T22:52:06.738-07:00",
      "updated_at": "2025-09-15T22:52:06.738-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.api+json
data
object
required

Response

custom_form created

data
object
required