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": "00eb2600-c590-488c-b77c-b33cd3907fdb",
    "type": "catalog_fields",
    "attributes": {
      "catalog_id": "6526eb63-3313-419c-98ee-f77c775af6ec",
      "name": "Test Attribute",
      "slug": "test-attribute",
      "kind": "reference",
      "kind_catalog_id": null,
      "multiple": false,
      "position": 2,
      "deleted_at": null,
      "updated_at": "2025-05-08T00:17:01.764-07:00",
      "created_at": "2025-05-08T00:17:01.764-07:00"
    },
    "relationships": {
      "catalog": {
        "data": {
          "id": "6526eb63-3313-419c-98ee-f77c775af6ec",
          "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.