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": "7c931509-5dda-4aea-9829-b7c380471b63",
"type": "catalog_fields",
"attributes": {
"catalog_id": "5baef3d3-be0e-4e12-84f2-1220ddcf7b63",
"name": "Test Attribute",
"slug": "test-attribute",
"kind": "reference",
"kind_catalog_id": null,
"multiple": false,
"position": 2,
"deleted_at": null,
"updated_at": "2025-12-05T05:21:02.882-08:00",
"created_at": "2025-12-05T05:21:02.882-08:00"
},
"relationships": {
"catalog": {
"data": {
"id": "5baef3d3-be0e-4e12-84f2-1220ddcf7b63",
"type": "catalogs"
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
catalog_fields Show child attributes
text, reference Restricts values to items of specified catalog.
Whether the attribute accepts multiple values.
Default position of the item when displayed in a list.
catalog_field created
Show child attributes
Unique ID of the catalog_field
catalog_fields Show child attributes
text, reference Whether the attribute accepts multiple values.
Default position of the item when displayed in a list.
Restricts values to items of specified catalog.
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": "7c931509-5dda-4aea-9829-b7c380471b63",
"type": "catalog_fields",
"attributes": {
"catalog_id": "5baef3d3-be0e-4e12-84f2-1220ddcf7b63",
"name": "Test Attribute",
"slug": "test-attribute",
"kind": "reference",
"kind_catalog_id": null,
"multiple": false,
"position": 2,
"deleted_at": null,
"updated_at": "2025-12-05T05:21:02.882-08:00",
"created_at": "2025-12-05T05:21:02.882-08:00"
},
"relationships": {
"catalog": {
"data": {
"id": "5baef3d3-be0e-4e12-84f2-1220ddcf7b63",
"type": "catalogs"
}
}
}
}
}