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": "f64db444-388a-4bed-85b0-8052a7bfc952",
"type": "catalog_fields",
"attributes": {
"catalog_id": "a775bbb5-be03-42e9-96d4-51c159c4fcc9",
"name": "Test Attribute",
"slug": "test-attribute",
"kind": "reference",
"kind_catalog_id": null,
"multiple": false,
"position": 2,
"deleted_at": null,
"updated_at": "2025-08-11T20:40:47.817-07:00",
"created_at": "2025-08-11T20:40:47.817-07:00"
},
"relationships": {
"catalog": {
"data": {
"id": "a775bbb5-be03-42e9-96d4-51c159c4fcc9",
"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": "f64db444-388a-4bed-85b0-8052a7bfc952",
"type": "catalog_fields",
"attributes": {
"catalog_id": "a775bbb5-be03-42e9-96d4-51c159c4fcc9",
"name": "Test Attribute",
"slug": "test-attribute",
"kind": "reference",
"kind_catalog_id": null,
"multiple": false,
"position": 2,
"deleted_at": null,
"updated_at": "2025-08-11T20:40:47.817-07:00",
"created_at": "2025-08-11T20:40:47.817-07:00"
},
"relationships": {
"catalog": {
"data": {
"id": "a775bbb5-be03-42e9-96d4-51c159c4fcc9",
"type": "catalogs"
}
}
}
}
}