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>",
"command": "<string>",
"slug": "<string>",
"description": "<string>",
"enabled": true
}
}
}
'{
"data": {
"id": "5bba06dc-ab16-45c9-bccf-65eaf3ffd432",
"type": "custom_forms",
"attributes": {
"slug": "test",
"name": "Test",
"description": null,
"enabled": true,
"command": "test",
"created_at": "2025-12-19T07:41:24.228-08:00",
"updated_at": "2025-12-19T07:41:24.228-08:00"
}
}
}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>",
"command": "<string>",
"slug": "<string>",
"description": "<string>",
"enabled": true
}
}
}
'{
"data": {
"id": "5bba06dc-ab16-45c9-bccf-65eaf3ffd432",
"type": "custom_forms",
"attributes": {
"slug": "test",
"name": "Test",
"description": null,
"enabled": true,
"command": "test",
"created_at": "2025-12-19T07:41:24.228-08:00",
"updated_at": "2025-12-19T07:41:24.228-08:00"
}
}
}