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": "adbe7f6d-c96a-4fb7-b804-96ee16939153",
"type": "catalog_fields",
"attributes": {
"catalog_id": "f1c0e953-a316-4da8-81ef-5dc321c4efbf",
"name": "Test Attribute",
"slug": "test-attribute",
"kind": "reference",
"kind_catalog_id": null,
"multiple": false,
"position": 2,
"deleted_at": null,
"updated_at": "2025-09-01T03:36:50.009-07:00",
"created_at": "2025-09-01T03:36:50.009-07:00"
},
"relationships": {
"catalog": {
"data": {
"id": "f1c0e953-a316-4da8-81ef-5dc321c4efbf",
"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": "adbe7f6d-c96a-4fb7-b804-96ee16939153",
"type": "catalog_fields",
"attributes": {
"catalog_id": "f1c0e953-a316-4da8-81ef-5dc321c4efbf",
"name": "Test Attribute",
"slug": "test-attribute",
"kind": "reference",
"kind_catalog_id": null,
"multiple": false,
"position": 2,
"deleted_at": null,
"updated_at": "2025-09-01T03:36:50.009-07:00",
"created_at": "2025-09-01T03:36:50.009-07:00"
},
"relationships": {
"catalog": {
"data": {
"id": "f1c0e953-a316-4da8-81ef-5dc321c4efbf",
"type": "catalogs"
}
}
}
}
}