POST
/
v1
/
custom_forms
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": "7aac4e10-eaab-436d-80db-400003f1bd5d",
    "type": "custom_forms",
    "attributes": {
      "slug": "test",
      "name": "Test",
      "description": null,
      "enabled": true,
      "command": "test",
      "created_at": "2025-06-19T02:38:41.137-07:00",
      "updated_at": "2025-06-19T02:38:41.137-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

Response

201
application/vnd.api+json

custom_form created

The response is of type object.