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": "9628479d-f05d-4942-a058-7d4a380f2253",
    "type": "catalog_fields",
    "attributes": {
      "catalog_id": "157575f2-93f5-49cb-a267-c6841d864758",
      "name": "Test Attribute",
      "slug": "test-attribute",
      "kind": "reference",
      "kind_catalog_id": null,
      "multiple": false,
      "position": 2,
      "deleted_at": null,
      "updated_at": "2025-03-28T22:58:32.643-07:00",
      "created_at": "2025-03-28T22:58:32.643-07:00"
    },
    "relationships": {
      "catalog": {
        "data": {
          "id": "157575f2-93f5-49cb-a267-c6841d864758",
          "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
data
object
required

Response

201
application/vnd.api+json
catalog_field created
data
object
required