POST
/
v1
/
catalogs
/
{catalog_id}
/
fields
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": "f3cc31e5-adae-4fbb-b3eb-8b85f07e87c0",
    "type": "catalog_fields",
    "attributes": {
      "catalog_id": "dcb454d4-c482-40b3-aca5-9405ab3d85c9",
      "name": "Test Attribute",
      "slug": "test-attribute",
      "kind": "reference",
      "kind_catalog_id": null,
      "multiple": false,
      "position": 2,
      "deleted_at": null,
      "updated_at": "2025-06-19T04:11:56.484-07:00",
      "created_at": "2025-06-19T04:11:56.484-07:00"
    },
    "relationships": {
      "catalog": {
        "data": {
          "id": "dcb454d4-c482-40b3-aca5-9405ab3d85c9",
          "type": "catalogs"
        }
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

catalog_id
string
required

Body

application/vnd.api+json

Response

201
application/vnd.api+json

catalog_field created

The response is of type object.