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": "408deb2e-afde-44eb-9762-0992d831db4e",
"type": "catalog_fields",
"attributes": {
"catalog_id": "701cf925-bb48-44f6-9734-1b686b971065",
"name": "Test Attribute",
"slug": "test-attribute",
"kind": "reference",
"kind_catalog_id": null,
"multiple": false,
"position": 2,
"deleted_at": null,
"updated_at": "2026-01-21T11:16:30.824-08:00",
"created_at": "2026-01-21T11:16:30.824-08:00",
"required": true
},
"relationships": {
"catalog": {
"data": {
"type": "catalogs",
"id": "701cf925-bb48-44f6-9734-1b686b971065"
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A catalog can have a maximum of 50 fields.
Show child attributes
catalog_field created with required attribute
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": "408deb2e-afde-44eb-9762-0992d831db4e",
"type": "catalog_fields",
"attributes": {
"catalog_id": "701cf925-bb48-44f6-9734-1b686b971065",
"name": "Test Attribute",
"slug": "test-attribute",
"kind": "reference",
"kind_catalog_id": null,
"multiple": false,
"position": 2,
"deleted_at": null,
"updated_at": "2026-01-21T11:16:30.824-08:00",
"created_at": "2026-01-21T11:16:30.824-08:00",
"required": true
},
"relationships": {
"catalog": {
"data": {
"type": "catalogs",
"id": "701cf925-bb48-44f6-9734-1b686b971065"
}
}
}
}
}