Creates a new Catalog Field from provided data
curl --request POST \
--url https://api.rootly.com/v1/catalogs/{catalog_id}/fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "catalog_fields",
"attributes": {
"name": "<string>",
"kind": "text",
"kind_catalog_id": "<string>",
"multiple": true,
"position": 123
}
}
}'
{
"data": {
"id": "fe8fc6a0-49e5-43ad-bd9d-dc4c867e9635",
"type": "catalog_fields",
"attributes": {
"catalog_id": "c7e1b98f-24c4-4d85-b801-fb66eea4df2e",
"name": "Test Attribute",
"slug": "test-attribute",
"kind": "reference",
"kind_catalog_id": null,
"multiple": false,
"position": 2,
"deleted_at": null,
"updated_at": "2025-07-21T23:14:28.950-07:00",
"created_at": "2025-07-21T23:14:28.950-07:00"
},
"relationships": {
"catalog": {
"data": {
"id": "c7e1b98f-24c4-4d85-b801-fb66eea4df2e",
"type": "catalogs"
}
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
catalog_field created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/catalogs/{catalog_id}/fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "catalog_fields",
"attributes": {
"name": "<string>",
"kind": "text",
"kind_catalog_id": "<string>",
"multiple": true,
"position": 123
}
}
}'
{
"data": {
"id": "fe8fc6a0-49e5-43ad-bd9d-dc4c867e9635",
"type": "catalog_fields",
"attributes": {
"catalog_id": "c7e1b98f-24c4-4d85-b801-fb66eea4df2e",
"name": "Test Attribute",
"slug": "test-attribute",
"kind": "reference",
"kind_catalog_id": null,
"multiple": false,
"position": 2,
"deleted_at": null,
"updated_at": "2025-07-21T23:14:28.950-07:00",
"created_at": "2025-07-21T23:14:28.950-07:00"
},
"relationships": {
"catalog": {
"data": {
"id": "c7e1b98f-24c4-4d85-b801-fb66eea4df2e",
"type": "catalogs"
}
}
}
}
}