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": "950c0d87-9ccd-4ae1-8664-121aaf01c2ea",
"type": "catalog_fields",
"attributes": {
"catalog_id": "4c73e3b2-959a-4d3c-b17b-733dd570071a",
"name": "Test Attribute",
"slug": "test-attribute",
"kind": "reference",
"kind_catalog_id": null,
"multiple": false,
"position": 2,
"deleted_at": null,
"updated_at": "2025-12-24T09:23:50.779-08:00",
"created_at": "2025-12-24T09:23:50.779-08:00"
},
"relationships": {
"catalog": {
"data": {
"id": "4c73e3b2-959a-4d3c-b17b-733dd570071a",
"type": "catalogs"
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
catalog_field created
Show child attributes
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": "950c0d87-9ccd-4ae1-8664-121aaf01c2ea",
"type": "catalog_fields",
"attributes": {
"catalog_id": "4c73e3b2-959a-4d3c-b17b-733dd570071a",
"name": "Test Attribute",
"slug": "test-attribute",
"kind": "reference",
"kind_catalog_id": null,
"multiple": false,
"position": 2,
"deleted_at": null,
"updated_at": "2025-12-24T09:23:50.779-08:00",
"created_at": "2025-12-24T09:23:50.779-08:00"
},
"relationships": {
"catalog": {
"data": {
"id": "4c73e3b2-959a-4d3c-b17b-733dd570071a",
"type": "catalogs"
}
}
}
}
}