Creates a new custom form from provided data
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": "b098487c-4ecf-4e30-a887-0c0be0c6f2fc",
"type": "custom_forms",
"attributes": {
"slug": "test",
"name": "Test",
"description": null,
"enabled": true,
"command": "test",
"created_at": "2025-07-29T04:58:17.989-07:00",
"updated_at": "2025-07-29T04:58:17.989-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
custom_form created
The response is of type object
.
Was this page helpful?
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": "b098487c-4ecf-4e30-a887-0c0be0c6f2fc",
"type": "custom_forms",
"attributes": {
"slug": "test",
"name": "Test",
"description": null,
"enabled": true,
"command": "test",
"created_at": "2025-07-29T04:58:17.989-07:00",
"updated_at": "2025-07-29T04:58:17.989-07:00"
}
}
}