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": "b05dd3d0-b0bd-4031-b1be-76c1772c93cb",
    "type": "custom_forms",
    "attributes": {
      "slug": "test",
      "name": "Test",
      "description": null,
      "enabled": true,
      "command": "test",
      "created_at": "2025-03-22T22:58:48.614-07:00",
      "updated_at": "2025-03-22T22:58:48.614-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

201
application/vnd.api+json
custom_form created
data
object
required